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 1995 - dependence on implementation defined boundary space policy
Summary: dependence on implementation defined boundary space policy
Status: CLOSED FIXED
Alias: None
Product: XML Query Test Suite
Classification: Unclassified
Component: XML Query Test Suite (show other bugs)
Version: 0.6.0
Hardware: PC Windows XP
: P2 normal
Target Milestone: ---
Assignee: Mike Rorke
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-07 09:33 UTC by David Carlisle
Modified: 2005-09-15 18:25 UTC (History)
0 users

See Also:


Attachments

Description David Carlisle 2005-09-07 09:33:04 UTC
ForExpr004 (and perhaps other tests) have an unwanted dependence on white space
stripping

 <file>{$f/../@creator} {$f/@creation_date}</file>
                      ^^^

If an implementation defaults to preserving boundary space the second
attribute will cause  an error XQTY0024 that an attribute node can not be added
after the text node. However this error condition is not given as an expected
outcome in the catalogue. Rather than catalogue the error, it's probably better
to add declare boundary-space preserve; or simpply not have the space there.

David
Comment 1 Andrew Eisenberg 2005-09-08 14:07:18 UTC
Our policy in writing these tests is to try to make them independent of the
implementation's choice of strip of preserve for boundar space. The space should
be removed.