[XMLSCHEMA-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

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>
cdata attribute value


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

Subscribe to the Stylus Scoop newsletter for helpful XML tips and tutorials.
Email
First Name
Last Name
Company

Download Stylus Studio 6 XML Enterprise Edition

Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2007 All Rights Reserved.