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

Re: XPointer Framework and shorthand pointers

From: John Cowan <cowan@ccil.org>
Date: Wed, 1 Sep 2010 12:41:12 -0400
Message-ID: <AANLkTim6Z9sypTSpheB3ufRC4F+xVBTQhigLxHJC+Rvf@mail.gmail.com>
To: "Grosso, Paul" <pgrosso@ptc.com>
Cc: public-xml-core-wg@w3.org
On Wed, Sep 1, 2010 at 11:06 AM, Grosso, Paul <pgrosso@ptc.com> wrote:

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

In order to do so, one would need to define an identifier() scheme.
Seemingly no one has thought of doing so.
Received on Wednesday, 1 September 2010 16:42:06 UTC

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