XSchema Question 2: Namespaces

John Cowan cowan at locke.ccil.org
Tue Jun 2 16:10:36 BST 1998


Simon St.Laurent wrote:

> I propose XSC for the namespace prefix, unless someone knows of a conflict or
> thinks three letters is too many.

As I read the Namespaces WD, the prefix (if it is not "xml") can
vary from one document to another, depending on the namespace
PIs that appear in that document.  So my "foo:bar" can be your
"baz:bar" indeed, as long as I declare "foo" to have the same value of
the "ns" pseudo-attribute that you use to declare "baz".

Thus it is not necessary to standardize a prefix, although it
certainly would be reasonable to recommend one.
-- 
John Cowan	http://www.ccil.org/~cowan		cowan at ccil.org
	You tollerday donsk?  N.  You tolkatiff scowegian?  Nn.
	You spigotty anglease?  Nnn.  You phonio saxo?  Nnnn.
		Clear all so!  'Tis a Jute.... (Finnegans Wake 16.5)

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo at ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo at ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)




More information about the Xml-dev mailing list