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 7648 - K2-DirectConElemNamespace-80 et seq
Summary: K2-DirectConElemNamespace-80 et seq
Status: RESOLVED FIXED
Alias: None
Product: XML Query Test Suite
Classification: Unclassified
Component: XML Query Test Suite (show other bugs)
Version: unspecified
Hardware: PC Windows NT
: P2 normal
Target Milestone: ---
Assignee: Sorin Nasoi
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 7808
  Show dependency treegraph
 
Reported: 2009-09-16 11:06 UTC by Michael Kay
Modified: 2009-10-06 06:14 UTC (History)
1 user (show)

See Also:


Attachments

Description Michael Kay 2009-09-16 11:06:37 UTC
In the new tests K2-DirectConElemNamespace-80 et seq, which are designed to test resolution of bug 5083:

(1) In test -80, the correct result is 

<shoe name=" &#34;&#34; "/>

not

<shoe name=" &#34; "/>

(2) In test -81, the correct result is

<shoe name=" '''''''' "/>

not

<shoe name=" &#44; "/>

&#44; is a comma - heaven only knows where this comes from! The use of &#44; for apostrophe occurs also in tests -83 and -85.

(3) The original primary purpose of bug 5083 was to resolve the question of how curly braces in a namespace declaration should be handled. There are no tests for this condition, so the erratum remains essentially untested.
Comment 1 Michael Kay 2009-09-16 11:24:15 UTC
Furthermore, in several of these tests, for example -82 and -85, the namespace URI has not been subjected to whitespace normalization. This is required by virtue of the rule in the erratum that reads:

<quote>
The value of the namespace declaration attribute (a DirAttributeValue) is processed as follows. If the DirAttributeValue contains an EnclosedExpr, a static error is raised [err:XQST0022]. Otherwise, it is processed as described in rule 1 of 3.7.1.1 Attributes.
</quote>

Comment 2 Michael Kay 2009-09-16 11:51:26 UTC
Concerning point (3) in comment #0, I see from http://www.w3.org/XML/Group/xquery-test/Pages/SecondEditionReport_published.html that there are other existing tests that handle curly braces in namespace URIs.
Comment 3 Sorin Nasoi 2009-10-06 06:14:43 UTC
Hi,
I have committed a fix for the reported problems.