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

Re: Patent on streaming evaluation of XPath

  • From: Rick Jelliffe <rjelliffe@allette.com.au>
  • To: Christian Nentwich <christian@modeltwozero.com>
  • Date: Fri, 19 Jun 2009 14:24:19 +1000

Re:  Patent on streaming evaluation of XPath
Christian Nentwich wrote:
> Dear all,
>
> I was browsing through the archives of xml-dev on optimised XPath 
> evaluation, something I've looked at on and off since about 2000. By 
> coincidence, I stumbled across this patent application for "optimised 
> streaming evaluation of xml queries":
>
> http://www.peertopatent.org/patent/20090125495/activity
> http://www.freepatentsonline.com/y2009/0125495.html
>
> Pretty cheeky. The first time we did something like that was around 
> 2001, when a student implemented it for me. I can probably dig up the 
> report. STX and its Joost implementation 
> (http://stx.sourceforge.net/), which was worked on in 2003, should 
> also count as prior art. The only claim I cannot quite follow is the 
> one on the "XPath engine sending instructions to the streaming 
> component". If this is a material part of the patent, it may be a 
> different claim.
 
Unless I have misread it (not impossible), I think this patent is for 
the specific technique of the consumer requesting the event producer 
(parser or iterator or lazy-evaluated query) to rewind to a certain 
point and restart sending the input stream from that point. So the 
parser checkpoints the input, and resends the stream fragments as many 
times as are needed to evaluate the XPath.  This is fine for shallow 
downward reads but costly for  //x  of course. I imagine it would be a 
feasible technique for simple 1->1 transformations with limited context 
or where the reverse axis paths can be converted to forward axis paths.

I think there is a technical name for this: the Turing machine!  And 
since according to Church-Turing thesis, every calculation can be 
represented using this kind of machine, it is not surprising that XSLT 
can be implemented using it (if. indeed, that is what the nub of the 
patent is.)  Whether Turing counts as prior art, I don't know.

Also, it bears mentioning that prior art also includes any SGML 
techniques from the decade before XML, since "XML is an application 
profile or restricted form of SGML, the Standard Generalized Markup 
Language [ISO 8879] 
<http://www.w3.org/TR/2008/REC-xml-20081126/#ISO8879>. By construction, 
XML documents are conforming SGML documents."  
http://www.w3.org/TR/2008/REC-xml-20081126/#sec-intro       Even though 
a patent may talk about XML as if it were a thing in itself, prior art  
from SGML (relating to things that are kept in XML) should be in play too.

Cheers
Rick Jelliffe




[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.