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 27726 - [QT3TS] fn-transform-1b: test has syntax error
Summary: [QT3TS] fn-transform-1b: test has syntax error
Status: CLOSED FIXED
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: XQuery 3 & XPath 3 Test Suite (show other bugs)
Version: Candidate Recommendation
Hardware: All All
: P2 normal
Target Milestone: ---
Assignee: O'Neil Delpratt
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-01-02 19:13 UTC by Michael Dyck
Modified: 2015-01-03 20:54 UTC (History)
1 user (show)

See Also:


Attachments

Description Michael Dyck 2015-01-02 19:13:00 UTC
In fn/transform.xml, test-case "fn-transform-1b" has an (unintended) syntax error in the test query. It ends with:
    ... return EXPR castable as node()

but the right-hand operand of 'castable as' is a SingleType, where
    SingleType     ::= SimpleTypeName "?"?
    SimpleTypeName ::= TypeName
    TypeName       ::= EQName
so "node()" is not valid there.
Comment 1 Michael Kay 2015-01-03 16:45:40 UTC
Changed "castable as" to "instance of".
Comment 2 Michael Dyck 2015-01-03 20:54:18 UTC
Thanks, closing.