W3C home > Mailing lists > Public > public-xml-core-wg@w3.org > September 2010

XPointer Framework and shorthand pointers

From: Grosso, Paul <pgrosso@ptc.com>
Date: Wed, 1 Sep 2010 11:06:26 -0400
Message-ID: <9B2DE9094C827E44988F5ADAA6A2C5DABF0F17@HQ-MAIL9.ptcnet.ptc.com>
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

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

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)?

Received on Wednesday, 1 September 2010 15:07:33 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:16:42 UTC