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 2350 - unabbreviated-syntax-5 test results wrong
Summary: unabbreviated-syntax-5 test results wrong
Status: CLOSED FIXED
Alias: None
Product: XML Query Test Suite
Classification: Unclassified
Component: XML Query Test Suite (show other bugs)
Version: 0.7.0
Hardware: PC Windows XP
: P2 normal
Target Milestone: ---
Assignee: Carmelo Montanez
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-18 10:06 UTC by Michael Kay
Modified: 2005-10-29 09:27 UTC (History)
0 users

See Also:


Attachments

Description Michael Kay 2005-10-18 10:06:51 UTC
unabbreviated-syntax-5 test results are wrong. The correct result is:

<?xml version="1.0" encoding="UTF-8"?>
   <empnum>E1</empnum>
   <pnum>P2</pnum>
   <hours>70</hours>
   <hours>20</hours>Text data from Employee[2]

It appears the supplied test results were produced by a processor that stripped
whitespace-only text nodes from the source. This should not be done for an
element that has mixed content: see
http://www.w3.org/TR/xpath-datamodel/#const-infoset-text

Michael Kay
Comment 1 Andrew Eisenberg 2005-10-19 16:46:50 UTC
Test case is actually unabbreviatedSyntax-5
Comment 2 Carmelo Montanez 2005-10-24 17:40:17 UTC
Agree:

Changed results as suggested.  Close bug if you agree with resolution.

Carmelo