Next in thread → Next in month →

Re: [xml-dev] evaluating XPointers

From
Simon St.Laurent <>
To
Date
2002-10-27T04:33:54Z
ID
<>
Thread
Re: [xml-dev] evaluating XPointers
At 09:20 PM 10/26/2002 -0700, Kian-Tat Lim wrote:
 > Note that an XPointer part that uses xmlns scheme never
> > returns a sub-resource and thus always fails. However,
> > its evaluation has a potential effect on XPointer parts
> > to its right;
>
>thus indicating that even "failing" XPointer parts can
>affect the context for later XPointer parts, though they
>themselves are "consumed".  With this as precedent, it
>does not seem far-fetched to claim that an
>xinclude(yes/no/noFallback) scheme could affect the
>context for later xpath1() scheme XPointer parts.

It could affect the context, but there's no way to know whether it 
succeeded or not.  That makes it very easy to produce XPointers which point 
to the wrong content.

I'm still pondering writing an xinclude() scheme, but it'll have to be more 
on the order of a suggestion than a command.

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