I recently asked a question internally about how XML namespace names are tested for equivalence.
Specifically, if a piece of XML software encountered the following two XML elements in the wild:
<Foo xmlns="http://example.com/hello world/" />
<Foo xmlns="http://example.com/hello%20world/" />
would that software consider their names to be the same or different?
The default Microsoft XML parsers don't normalize, so unless the software above the parser does something special, the names are different.
FWIW, our XML serialization stacks don't normalize, so they also see the two names as different.
I haven't had time to see what our XSLT engine(s), our XSD validators, or the XMLDT in SQL do.
I recall that sometime during the last millennium, there was a big brouhaha over the use of relative URI (specifically in ADO recordsets) that I could swear resulted in a clarification of this, but alas, I can't find it (even with that other search engine).
I'm curious what the state of the practice is around this?
Feel free to comment here or send me private email (dbox @ the usual place).
Posted
Feb 19 2006, 05:22 PM
by
don-box