about " 3 "^^xsd:integer

http://www.w3.org/TR/xmlschema-2/#integer says
[[
integer has the following ·constraining facets·:
...
whiteSpace
...
]]


http://www.w3.org/TR/xmlschema-2/#rf-whiteSpace says
[[
whiteSpace is applicable to all ·atomic· and ·list· datatypes. For all
·atomic· datatypes other than string (and types ·derived· by ·restriction·
from it) the value of whiteSpace is collapse
]]

where
[[
collapse
      After the processing implied by replace, contiguous sequences of
      #x20's are collapsed to a single #x20, and leading and trailing
      #x20's are removed.
]]

hence
" 3 "^^xsd:integer denotes the same value (in the value space) as
"3"^^xsd:integer
(and I guess the respective lexical values are " 3 " and "3").

--
Jos De Roo, AGFA http://www.agfa.com/w3c/jdroo/

Received on Friday, 5 September 2003 11:15:56 UTC