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 21723 - LocalNameFromQNameFunc021, NamespaceURIFromQNameFunc021
Summary: LocalNameFromQNameFunc021, NamespaceURIFromQNameFunc021
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: PC Windows NT
: 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: 21893
Blocks:
  Show dependency treegraph
 
Reported: 2013-04-16 21:09 UTC by Christian Gruen
Modified: 2013-05-14 17:42 UTC (History)
1 user (show)

See Also:


Attachments

Description Christian Gruen 2013-04-16 21:09:03 UTC
The two test cases "LocalNameFromQNameFunc021" and "NamespaceURIFromQNameFunc021" specify XPTY0004 as error code. For XQuery 3.0, I would expect XPTY0117 as correct result.
Comment 1 Michael Kay 2013-05-01 10:40:18 UTC
Interesting. F+O says it should be FONS0004. I will raise a spec bug.
Comment 2 Michael Kay 2013-05-01 10:49:10 UTC
I've raised spec bug 21893. Meanwhile I'm creating 3.0 versions of the tests that expect FONS0004.
Comment 3 Christian Gruen 2013-05-01 21:09:54 UTC
I agree. If the XML document is parsed without schema information, all string values will be treated as untyped atomics, so I would suggest to also add a schema dependency to the tests (<dependency type="feature" value="schemaImport"/>).
Comment 4 Christian Gruen 2013-05-14 17:40:51 UTC
Thanks for the new test cases. I’m marking this as resolved.