This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
Test case path009 contains the query: fn:path(//processing-instruction()[1]) and expected result: /processing-instruction("xml-stylesheet")[1] Our latest draft contains the following rule in fn:path: "5. For a processing-instruction node: processing-instruction({local})[{position}] where {local} is the name of the processing instruction node and {position} is an integer representing the position of the selected node among its like-named processing-instruction node siblings" I believe that the expected result should be: /processing-instruction(xml-stylesheet)[1]
Fixed as suggested.