[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: Concerned about the increasing reliance on XPath

  • From: "David Lee" <dlee@calldei.com>
  • To: <liam@w3.org>
  • Date: Sat, 7 May 2011 15:53:30 -0400

RE:  Concerned about the increasing reliance on XPath
==> Liam
"They're in memory except when they aren't"?  The Working Groups
designing XPath 2, XSLT 2 and XQuery 1 were very aware that the data
model instances over which these languages operate might not be entirely
in main memory...
======

Yes exactly.

There are no absolute statements.   (even this one). 
I was presuming that Roger was asking about non-XML DB or more standard
XPath implementations.
So yes "They're in memory except when they aren't"
The *vast majority* of *full* XPath implementations that I am aware of
require all data to be in memory.
And when they are not many XPath statements cannot be implemented in
streaming mode without some very advanced coding more typical in XML DB's ..
in which case indexes take the place of memory.
I won't argue (today) about what these are, its  well-known and published
fact.
( Of course there are *subsets of XPath* which can be streamed - but the
whole-shebang really cant).

Even if the working group was aware that the data may not be in memory
doesn't mean that implementations can easily support all of XPath (even 1.0)
without the data being in memory
(or indexed, hence it was pre-processed or the data was read in its entirety
with all possible xpaths to be executed know ahead of time. ).

Of course "streaming" is not exactly the same as "not in memory" but that
would be a LONG topic ...



==> Liam
We do agree here ;-)

I think we agree on all points.


----------------------------------------
David A. Lee
dlee@calldei.com
http://www.xmlsh.org






[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.