Subject: RE: [xsl] Generating JSP/JSTL From: "Michael Kay" <mike@xxxxxxxxxxxx> Date: Wed, 25 Apr 2007 14:16:25 +0100 |
> 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/
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Generating JSP/JSTL, Abel Braaksma | Thread | RE: [xsl] Generating JSP/JSTL, Kai Weber |
Re: [xsl] suggestions for per reque, Abel Braaksma | Date | Re: [xsl] suggestions for per reque, Nic James Ferrier |
Month |