Re: WhiteSpace

> 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