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 2442 - xqx: namespace declarations
Summary: xqx: namespace declarations
Status: CLOSED FIXED
Alias: None
Product: XML Query Test Suite
Classification: Unclassified
Component: XML Query Test Suite (show other bugs)
Version: 0.8.4
Hardware: PC Windows XP
: P2 normal
Target Milestone: ---
Assignee: Ravindranath (Ravi) Chennoju
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-04 00:36 UTC by David Carlisle
Modified: 2006-06-13 12:37 UTC (History)
0 users

See Also:


Attachments

Description David Carlisle 2005-11-04 00:36:46 UTC
The 0.8 XQueryX files are not using the CR encoding of namespace declarations.

eg
Constr-namespace-11.xq

The distribution has 
                        <xqx:attributeConstructor>
                          <xqx:attributeName
xqx:prefix="xmlns">foo</xqx:attributeName>
                         
<xqx:attributeValue>http://www.example.com/parent</xqx:attributeValue>
                        </xqx:attributeConstructor>


which produces a terminate="yes" message about invalid usage from the CR stylesheet.
Comment 1 David Carlisle 2005-12-15 20:36:39 UTC
some of these are fixed in 0.8.2 (eg the Constr-namespace-11.xq example quoted
originally) but others remain

Constr-namespace-3.xq
Constr-namespace-17.xq
Constr-namespace-18.xq
Constr-namespace-19.xq
                  20 21 22 23 24

Constr-inscope-8.xq
               9 20
Comment 2 David Carlisle 2006-01-11 13:41:08 UTC
The problem xqueryx files are deleted from 0.84 which I suppose is a fix of sorts.
It would be nice to get some feedback sometimes on the xqueryx reports in bugzilla.
Comment 3 Maxim Orgiyan 2006-03-03 04:15:52 UTC
Thanks David...

Finally back to working on these bugs.

Fixed this one - xmlns with no prefix was not handled
correctly. It should be in the next release.

In the bug description, I think Constr-inscope-9
should be Constr-inscope-19.

Also, Constr-namespace-24.xq seems to be an unrelated
issue - it's an error, so no XQueryX should have
even been generated for this test case.

Ravi please double-check that this is in fact the case
when you generate the test suite. 

Also, please change the status to FIXED when
the new test suite is released.
Comment 4 Ravindranath (Ravi) Chennoju 2006-03-27 23:33:02 UTC
This should be fixed in XQTS 0.9.0 release