[Bug 6028] New: [F&O] fn:id is broken -- gives wrong answers for elements of type ID

http://www.w3.org/Bugs/Public/show_bug.cgi?id=6028

           Summary: [F&O] fn:id is broken -- gives wrong answers for
                    elements of type ID
           Product: XPath / XQuery / XSLT
           Version: Recommendation
          Platform: PC
               URL: http://www.w3.org/TR/xquery-operators/#func-id
        OS/Version: Linux
            Status: NEW
          Severity: major
          Priority: P1
         Component: Functions and Operators
        AssignedTo: mike@saxonica.com
        ReportedBy: ht@inf.ed.ac.uk
         QAContact: public-qt-comments@w3.org
                CC: public-xml-core-wg@w3.org


fn:id is broken -- it gives wrong answers for elements of type ID:  XML Schema
and XPointer both make clear that an element of type ID identifies its
_parent_, not the element itself.

This is a serious bug because it means XPointer cannot be simply implemented
using an XPath2 implementation out of the box.

I am submitting this personally, but I expect the XML Core WG (the keeper of
the XPointer specs) will endorse this comment at their next meeting
(2008-09-10).


-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

Received on Friday, 5 September 2008 14:03:19 UTC