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 1.5? (was RE: [xml-dev] typing and markup)

[ Lists Home | Date Index | Thread Index ]

Hi Eric,

>> I'm guessing, but I think that when people express doubts and fears
>> about the impact of XML Schema on XPath they are more concerned
>> over:
>
> I'd like to add a 5th item:
>
>    - the impact on the performances for real time transformations.
>      Even when used without schema, won't the added complexity
>      have an impact on the memory and speed of the transformations?

I think that part of the promise of the static type checking in
XQuery/XPath 2.0 is that it enables processors to optimise
queries/expressions. So that should make them faster to run. But then,
as Mike's said on many an occasion there's a trade-off to be made
between the time it takes to analyse a document or a transformation,
and the time that analysis saves you through optimisation.

Unless you're doing something really complicated, the thing that takes
the most time in an XSLT transformation is the parsing (and
serialising) of documents. Parsing and validating against an XML
Schema will take longer than simply parsing, but that won't make an
impact if you don't use XML Schema anyway, or if you turn validation
off and use hard-coded knowledge about types within the stylesheet.

Cheers,

Jeni

---
Jeni Tennison
http://www.jenitennison.com/





 

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

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