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 11824 - alternate result for Constr-cont-nsmode-8
Summary: alternate result for Constr-cont-nsmode-8
Status: RESOLVED DUPLICATE of bug 11813
Alias: None
Product: XML Query Test Suite
Classification: Unclassified
Component: XML Query Test Suite (show other bugs)
Version: unspecified
Hardware: PC Windows XP
: P2 normal
Target Milestone: ---
Assignee: Benjamin Nguyen
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-20 16:46 UTC by Andrew Eisenberg
Modified: 2011-01-25 13:54 UTC (History)
0 users

See Also:


Attachments

Description Andrew Eisenberg 2011-01-20 16:46:19 UTC
Constr-cont-nsmode-8 attempts to construct an element with an attribute that is of type xs:QName and expects an error to be reported. An implementation that constructs its documents from an Infoset will not see the attribute as a QName, and so will return the following:

<new atomic:attr="foo:aQname" xmlns:atomic="http://www.w3.org/XQueryTest"/>

I believe that either this should be accepted as an alternate result for this test case or the test case should be rewritten.
Comment 1 Benjamin Nguyen 2011-01-25 13:50:27 UTC
Hi Andrew,

this test is supposed to test XQTY0086, so I believe it is a better idea if possible to rewrite it so that it always tests this error. I will point Mike Kay to this bug since he wrote the original test, following his bug report in bug 4151.
Comment 2 Benjamin Nguyen 2011-01-25 13:54:34 UTC
I've also marked this as duplicate of 11813 which covers test cases Constr-cont-nsmode-5-10

*** This bug has been marked as a duplicate of bug 11813 ***