W3C home > Mailing lists > Public > xmlschema-dev@w3.org > January 2002

Re: WhiteSpace

From: Morris Matsa <mmatsa@us.ibm.com>
Date: Thu, 10 Jan 2002 18:35:15 -0500
To: "Gregory Khanlarov" <gregory@creativescience.com>
Cc: <xmlschema-dev@w3.org>
Message-ID: <OF7B6FBD9D.20DEA2DD-ON85256B3D.00815972@pok.ibm.com>

> The first XML snippet is definitely valid.  How about the second one ?
> The definition of the 'hexBinary' type  states that the whitespace
> value is collapse. Does it mean that the second XML  snippet is invalid
>  (since it has CR characters) or the
>  XML validator must  perform value normalization ('collapse') of the
> 'data' element before validation

The latter.  They are both valid.  The whitespace-facet processing of
'collapse' is handled before the rest of validation.
Received on Thursday, 10 January 2002 18:34:55 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:55:54 UTC