![]() |
![]() | ![]() | ![]() | Altova Mailing List Archives>Archive Index >xmlschema-dev Archive Home >Recent entries >Thread Prev - SV: cdata attribute value normalization in schema? [Thread Next] Re: SV: cdata attribute value normalization in schema?To: Bryan Rasmussen <brs@----.--> Date: 5/24/2005 9:46:00 AM Bryan Rasmussen writes: >>W3C XML Schema's whitespace normalization is independent of XML's and >>happens logically after it. > > okay, well this leads me back to my problem then. The xml normalization for > attributes is dependent on if "the attribute type is not CDATA", if it isn't > leading/trailing whitespace is discarded, if it is they aren't. How do I via > xml schema specify that an attribute is CDATA? Is an CDATA attribute type > just a string? or anything else? XML processors are required to treat undeclared attributes as if they were declared as CDATA, for whitespace normalization purposes, so you don't have to do anything. ht -- Henry S. Thompson, HCRC Language Technology Group, University of Edinburgh Half-time member of W3C Team 2 Buccleuch Place, Edinburgh EH8 9LW, SCOTLAND -- (44) 131 650-4440 Fax: (44) 131 650-4587, e-mail: ht@i... URL: http://www.ltg.ed.ac.uk/~ht/ [mail really from me _always_ has this .sig -- mail without it is forged spam] From eday@o... Tue May 24 15:34:24 2005 Received: from | ![]() | ![]() | ![]() |
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | |||||
|
