Re: XPointer Framework and shorthand pointers

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.

Correct.

> 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