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

evaluating XPointers

  • To: xml-dev@l...
  • Subject: evaluating XPointers
  • From: "Simon St.Laurent" <simonstl@s...>
  • Date: Sat, 26 Oct 2002 20:07:24 -0400

I'm not sure it's possible to creating an xinclude(yes/no/noFallback) 
scheme using the XPointer Framework because of this:
When multiple pointer parts are provided, an XPointer processor must 
evaluate them in left-to-right order. If a part being evaluated fails 
because the XPointer processor does not support the scheme, because the 
scheme data is syntactically in error according to the specification 
governing that scheme, or because the scheme identifies no subresource, 
that part is consumed and the next, if any, is evaluated. The result of the 
first pointer part whose evaluation succeeds is reported by the XPointer 
processor as the subresource identified by the pointer as a whole, and 
evaluation stops. If all the parts fail, it is an error. If a scheme-based 
pointer has an error in its construction as a whole, evaluation stops and 
pointer parts are not consumed.

Even if, for instance, xinclude(yes) mandated XInclude processing, the 
xinclude(yes) would just get consumed and nothing would happen.  (The same 
applies to processing external entities.)  At best, I'm just going to have 
to identify these issues and state that the current framework provides no 
mechanism for addressing them.

After poking around the framework for a while, I'm not sure that any of 
this is ready for prime time.  I'll get around to a formal 
xml-linking-comments comment at some point, but I have to admit wishing 
that the XPointer work would just halt now instead of racing toward 31 
December with a "we must finish" attitude.

Simon St.Laurent
"Every day in every way I'm getting better and better." - Emile Coue


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.
First Name
Last Name
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.