W3C home > Mailing lists > Public > public-qt-comments@w3.org > June 2010

[Bug 9276] [XQTS] Order of results of fn-doc-33 are not well defined.

From: <bugzilla@jessica.w3.org>
Date: Sun, 06 Jun 2010 11:42:24 +0000
To: public-qt-comments@w3.org
Message-Id: <E1OLEFE-0004Ct-Il@jessica.w3.org>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=9276





--- Comment #1 from Martin Probst <Probst_Martin@emc.com>  2010-06-06 11:42:23 ---
I agree with the analysis and the resolution. Also of potential interest is
that the test creates a result SVG document that is not well-formed according
to xml:id rules; it contains duplicate IDs.

The solution appears to be already implemented in latest XQTS CVS state (both
.xq and .xqx), except for the (almost) identical static test
fn-doc-33-static-cbcl.xq. This patch fixes it, but the .xqx file will need to
be re-generated:


Index:
./Queries/XQuery/Functions/NodeSeqFunc/SeqDocFunc/fn-doc-33-static-cbcl.xq
===================================================================
RCS file:
/sources/public/2006/xquery-test-suite/TestSuiteStagingArea/Queries/XQuery/Functions/NodeSeqFunc/SeqDocFunc/fn-doc-33-static-cbcl.xq,v
retrieving revision 1.1
diff -u -r1.1 fn-doc-33-static-cbcl.xq
--- ./Queries/XQuery/Functions/NodeSeqFunc/SeqDocFunc/fn-doc-33-static-cbcl.xq 
  13 Mar 2008 12:14:17 -0000    1.1
+++ ./Queries/XQuery/Functions/NodeSeqFunc/SeqDocFunc/fn-doc-33-static-cbcl.xq 
  6 Jun 2010 11:41:06 -0000
@@ -38,7 +38,8 @@
         fill="none" stroke="blue" stroke-width="2"/>,
      <s:rect x="400" y="100" width="400" height="200"
         fill="yellow" stroke="navy" stroke-width="10"  />,
-        for $i in $root//QObject/local:drawDiagram(.)
+        for $object in $root//QObject
+        for $i local:drawDiagram($object)
         stable order by string($i)
         return $i
     }

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Sunday, 6 June 2010 11:42:29 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:57:31 UTC