[Expat-discuss] (no subject)

Paul Prescod paulp@ActiveState.com
Mon, 14 May 2001 15:13:45 -0700


rolf@pointsman.de wrote:
> 
>...
> 
> o Declarations of attributes with type ENUMERATION and NOTATION are
>   some kind of "normalized" - in a very straight forward way, I have
>   to confess -, before they reach handler level. As far as I know,
>   there is now reason within the XML recommendation for doing
>   this. Don't geht me wrong, I'm far from criticizing this - it make
>   life really a little bit easier, if you try to write a validator on
>   top of expat - but this isn't documented and my questing is: can I
>   trust in this?

If the attribute type is not CDATA, then the XML processor must further
process the normalized attribute value by discarding any leading and
trailing space (#x20) characters, and by replacing sequences of space
(#x20) characters by a single space (#x20) character.

-- 
Take a recipe. Leave a recipe.  
Python Cookbook!  http://www.ActiveState.com/pythoncookbook