[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
Re: [xsl] When are and svg namespace references material?
Subject: Re: [xsl] When are <!DOCTYPE> and svg namespace references material? From: Elliotte Rusty Harold <elharo@xxxxxxxxxxx> Date: Thu, 4 Feb 2010 06:07:08 -0500 |
Not quite. Since this is XSL that's at issue here: 1. Validation is irrelevant. XSLT processors don't validate. 2. DTD resolution is relevant. XSLT processors have to load the external DTD to resolve entities and perhaps supply default attribute values. The XPath 1.0 data model simply does not support unresolved entity references. 3. I suppose an XSLT processor might defer loading the DTD until it finds an entity reference it needs a definition for. But then how does it handle default attribute values for previously processed elements? Start over? 4. Some processors might just drop out unresolved entity references, but I wouldn't trust any processors that did so. Someone may point out that the XSLT spec doesn't actually define how the XSLT processor gets its input tree from the source text. This has been used in the past to support arbitrary mangling of the input document by an allegedly conformant processor. You'll have to ask your XSLT vendor how and when they mangle the input. 5. A catalog could be used to load the DTD locally from the public identifier rather than the URL in the system identifier. -- Elliotte Rusty Harold elharo@xxxxxxxxxxx
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] When are <!DOCTYPE> and s, Ylvisaker, Steve | Thread | Re: [xsl] When are <!DOCTYPE> and s, Andrew Welch |
Re: [xsl] are all strings in a sequ, G. Ken Holman | Date | Re: [xsl] are all strings in a sequ, Justin Johansson |
Month |