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 2588 - LogicExpr byte values
Summary: LogicExpr byte values
Status: CLOSED INVALID
Alias: None
Product: XML Query Test Suite
Classification: Unclassified
Component: XML Query Test Suite (show other bugs)
Version: 0.8.2
Hardware: PC Linux
: P2 normal
Target Milestone: ---
Assignee: Andrew Eisenberg
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-12 16:20 UTC by Martin Probst
Modified: 2005-12-16 11:21 UTC (History)
0 users

See Also:


Attachments

Description Martin Probst 2005-12-12 16:20:54 UTC
The testcases

op-logical-and-157
op-logical-and-158
op-logical-and-159
op-logical-or-157
op-logical-or-158
op-logical-or-159

try to create xs:bytes with values of 255. xs:byte is signed and by that
restricted to -128 to 127.
Comment 1 Andrew Eisenberg 2005-12-15 16:55:04 UTC
Sorry, but I believe that these tests are using xs:unsignedByte, which allows
values as high as 255. op-logical-and-157 contains the following:

   <return>
     { xs:unsignedByte(255) and xs:unsignedByte(0) }
   </return>

Please close this bug report if you agree with this resolution.

Comment 2 Martin Probst 2005-12-16 11:21:54 UTC
I can confirm.