- From: Grosso, Paul <pgrosso@ptc.com>
- Date: Wed, 1 Sep 2010 11:06:26 -0400
- To: <public-xml-core-wg@w3.org>
While considering the recent TAG minutes on XPointer, I (think I) discovered something that surprised me about XPointer Framework at http://www.w3.org/TR/xptr-framework/ As of my current reading, the syntax allows for either a Shorthand (aka barename) or a list of one or more scheme-based PointerParts. The idea of the list is that: When multiple pointer parts are provided, an XPointer processor must evaluate them in left-to-right order. If the XPointer processor does not support the scheme used in a pointer part, it skips that pointer part. If a pointer part does not identify any subresources, evaluation continues and the next pointer part, if any, is evaluated. The result of the first pointer part whose evaluation identifies one or more subresources is reported by the XPointer processor as the result of the pointer as a whole, and evaluation stops. But (unless I'm reading the grammar incorrectly), it doesn't seem to allow for a Shorthand at the end of the SchemeBased list. So how can one give an XPointer that provides one or more schemes and then finally falls back to a Shorthand (which is something I would think would be a very desirable kind of thing to be able to do)? paul
Received on Wednesday, 1 September 2010 15:07:33 UTC