OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   RE: [xml-dev] How to spell "No PSVI" in XSLT 2.0 ?

[ Lists Home | Date Index | Thread Index ]

At 10:53 AM -0700 5/14/02, Evan Lenz wrote:

>No, this isn't right at all. Skipped entity references are simply invisible
>to the data model, i.e. lost, just like anything else that's not significant
>in the data model. This is a very important distinction. Otherwise, it would
>be impossible to use a non-validating parser with XSLT.
>

That's exactly what I'm claiming. It is impossible to use a 
non-validating parser with XSLT, or, more precisely, it is impossible 
to use a parser which does not read the DTD and resolve external 
entity references. Section 5.2 of the XPath spec clearly states:

Entity references to both internal and external entities are 
expanded. Character references are resolved.

There just isn't an option for leaving them out as you seem to want to do.
-- 

+-----------------------+------------------------+-------------------+
| 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/    |
+----------------------------------+---------------------------------+




 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS