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] XPath/XSLT 2.0 concerns

[ Lists Home | Date Index | Thread Index ]

At 7:01 PM +0200 10/2/02, Robin Berjon wrote:
>Hi Jeni,
>Jeni Tennison wrote:
>>>I don't believe that either and I'd add that it takes a pretty
>>>narrow view on XML but I can in fact see use cases for having access
>>>to types in XPath. For instance when I see an XSLT processor chew
>>>for several minutes on a very predictable document (granted, it's
>>>Java based, but still) I think that if it had access to schema
>>>information it could optimize a lot of what it's doing by skipping
>>>entire subtrees.

One thing I don't understand about this idea: what if the document is 
invalid according to its schema? Is schema checking a prerequisite 
for using the schema (which would seem to be a huge performance hit 
in itself) or does the processor simply produce incorrect results in 
this case?

| Elliotte Rusty Harold | elharo@metalab.unc.edu | Writer/Programmer |
|          XML in a  Nutshell, 2nd Edition (O'Reilly, 2002)          |
|              http://www.cafeconleche.org/books/xian2/              |
|  http://www.amazon.com/exec/obidos/ISBN%3D0596002920/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