[
Lists Home |
Date Index |
Thread Index
]
At 8:12 PM -0600 5/13/02, Uche Ogbuji wrote:
>I'm not sure that's right. It goes back to the whole discussion of
>what happens in parsing the source document. There is no reason a
>conforming XSLT implementation cannot use a non-validating parser
>which would mean it does not apply the external subset of the DTD.
>
It certainly doesn't have to validate but a conforming XSLT processor
*must* read the external DTD subset. The reason is that the XPath
data model does not allow unresolved entity references. If any of
these are defined in the external subset, then you can't build a data
model for the document without reading the external subset.
--
+-----------------------+------------------------+-------------------+
| Elliotte Rusty Harold | elharo@metalab.unc.edu | Writer/Programmer |
+-----------------------+------------------------+-------------------+
| The XML Bible, 2nd Edition (Hungry Minds, 2001) |
| http://www.cafeconleche.org/books/bible2/ |
| http://www.amazon.com/exec/obidos/ISBN=0764547607/cafeaulaitA/ |
+----------------------------------+---------------------------------+
| Read Cafe au Lait for Java News: http://www.cafeaulait.org/ |
| Read Cafe con Leche for XML News: http://www.cafeconleche.org/ |
+----------------------------------+---------------------------------+
|