|
[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: XPath 1.5? (was RE: typing and markup)
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/
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|
|||||||||

Cart








