W3C home > Mailing lists > Public > xmlschema-dev@w3.org > May 2005

cdata attribute value normalization in schema?

From: Bryan Rasmussen <brs@itst.dk>
Date: Mon, 23 May 2005 10:10:14 +0200
Message-ID: <D45A5694803BE943BA46F9A7262BF83D12380D@its42.itst.local>
To: "'xmlschema-dev@w3.org'" <xmlschema-dev@w3.org>


How do I represent an Attribute of being type CDATA so that the further
normalization represented here 
"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.
" is not done? Should I use whiteSpace facet replace since that corresponds
to the rest of the algorithm?
If so, how is this okay by the xml spec as the spec says that this
normalization must be done prior to being passed to validation? 



Thanks for any help

Bryan Rasmussen
Received on Monday, 23 May 2005 08:20:51 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 11 January 2011 00:14:50 GMT