[XML-SIG] Proposal for "xml.namespaces"

Rich Salz rsalz@zolera.com
Fri, 27 Apr 2001 22:32:45 -0400


Mike Olson suggested I bring this up.

I'd like to create "namespaces.py" that has the URI strings for various
namespaces.  Something like
	class SOAP:
		ENV = "http://schemas.xmlsoap.org/soap/envelope/"
		ENC = "http://schemas.xmlsoap.org/soap/encoding/"

	class XSD:
		v1999 = "http://www.w3.org/1999/XMLSchema"
		v2000 = "http://www.w3.org/2000/10/XMLSchema"
		v2001 = "http://www.w3.org/2001/XMLSchema"
		ALL = [ v1999, v2000, v2001 ]

etc.  Should it be "ns.py"?  That filename is somewhat terse, but being
able to write things like xml.ns.XSD.v2001, xml.ns.DSIG.RSA, etc., seems
like a good thing.
	/r$