This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 14278 - [QT3TS] extraneous quotes in path009
Summary: [QT3TS] extraneous quotes in path009
Status: CLOSED FIXED
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: XQuery 3 & XPath 3 Test Suite (show other bugs)
Version: Working drafts
Hardware: PC Windows XP
: P2 normal
Target Milestone: ---
Assignee: Michael Kay
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-24 16:19 UTC by Andrew Eisenberg
Modified: 2012-05-22 20:28 UTC (History)
1 user (show)

See Also:


Attachments

Description Andrew Eisenberg 2011-09-24 16:19:25 UTC
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]
Comment 1 Michael Kay 2012-05-16 20:45:02 UTC
Fixed as suggested.