It seems a common misunderstanding the repeated namespace
declarations are bad, or that they change the XML, the
semantics or whatever. They don't. Even if you repeat all
namespace declarations, or several rubbish declarations of
namespaces you don't use, it won't change the meaning of the
XML, nor will it change the way automated tools, parsers or
else will deal with it.
Sadly, this isn't quite true. Redundant namespace declarations can cause DTD
validation failures, because DTDs treat namespace declarations as
attributes. One of the good reasons for moving from DTDs to XML Schema (or
Relax NG if you prefer).
Michael Kay
http://www.saxonica.com/
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--