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 2514 - VarDecl009 results are wrong
Summary: VarDecl009 results are wrong
Status: RESOLVED FIXED
Alias: None
Product: XML Query Test Suite
Classification: Unclassified
Component: XML Query Test Suite (show other bugs)
Version: 0.8.0
Hardware: PC Windows XP
: P2 normal
Target Milestone: ---
Assignee: Ravindranath (Ravi) Chennoju
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-12 17:04 UTC by Michael Kay
Modified: 2005-12-02 00:54 UTC (History)
0 users

See Also:


Attachments

Description Michael Kay 2005-11-12 17:04:45 UTC
The query VarDecl009 is given as:

declare variable $x := '<bold>A sample element.</bold>' ; 
$x

and the results are shown as

<bold>A sample element.</bold>

This would be the correct output if the result were serialized using the text
output method, but apparently all results are now serialized using the XML
output method, regardless of the comparator used. The results should therefore be

&lt;bold&gt;A sample element.&lt;/bold&gt;

or equivalent.
Comment 1 Ravindranath (Ravi) Chennoju 2005-12-02 00:54:20 UTC
Fixed the log.