Hi, Joe --

We agree that we disagree. DOM applications can and should be written to be able to operate successfully against a DOM that does not contain namespace declaration attributes. Not all have been, or have been updated to be so.. Then again, not all have been (re)written to be properly namespace-aware at all; that isn't the DOM's fault either.

I'm afraid that I have to agree with ERH. DOM's handling of namespaces is pretty much broken, and there are no two ways to beat that dead horse. What you say above is reasonable (if a horrific inconvenience), *IF* you don't use any qualified names in attribute values of content. *IF* you do have qualified names in attribute values or content, you're in trouble because you may lose prefixes.


I'm no fan of prefix-style QNames in attribute values or content, but it's a reality of XML Schema, WSDL, BPEL, and other important XML document types.

---
Paul Brown
http://blogs.fivesight.com/pbblog


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to