Re: Case-sensitivity, child sequences

"Eve L. Maler" wrote:

> >2. Do child sequences in XPointer include comments and
> >processing instructions? The spec. says that child sequences
> >select among "child elements" which to me implies that
> >comments and PIs are skipped. This seems to differ from
> >the position() function in XPath. If this is true, then maybe
> >it should be noted explicitly in the XPointer spec?
> 
> It seems pretty explicit already, as you have noted.  Child sequences are
> basically equivalent to doing /*[n]/*[n]... .

Maybe I misunderstand things here, but it seems to me that
an XPointer "/1/1" and XPath "/*[1]/*[1]" will not return the
same node in the following example (if the XPointer only counts
elements) since MY_PI is not an element.

<doc>
  <?MY_PI test?>
  <p>
</doc>



Cheers,
Emil

-- 
===========================================================
  Emil Astrom, programmer at Excosoft AB
  emil.astrom@excosoft.se    tel:  +46 8 633 29 00
  http://www.excosoft.se     
===========================================================

Received on Monday, 6 November 2000 12:00:10 UTC