![]() |
![]() | ![]() | ![]() | Altova Mailing List Archives>Archive Index >xmlschema-dev Archive Home >Recent entries >Thread Prev - cdata attribute value normalization in schema? [Thread Next] Re: cdata attribute value normalization in schema?To: Bryan Rasmussen <brs@----.--> Date: 5/23/2005 11:43:00 AM Bryan Rasmussen writes: > How do I represent an Attribute of being type CDATA so that the further > normalization represented here > "=F8=E5=D8=E5If the attribute type is not CDATA, then the XML processor M= UST further > process the normalized attribute value by discarding any leading and > trailing space (#x20) characters, and by replacing sequences of space (#x= 20) > characters by a single space (#x20) character. > " is not done? Should I use whiteSpace facet replace since that correspon= ds > 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? See the documentation of whitespace processing [1] -- you can choose whatever you like for your simple type definitions as long as they're derived from xs:string. W3C XML Schema's whitespace normalization is independent of XML's and happens logically after it. ht [1] http://www.w3.org/TR/xmlschema-1/#d0e1654 -- 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 sp= am] From noah_mendelsohn@u... Mon May 23 12:47:35 2005 Received: from b | ![]() | ![]() | ![]() |
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | |||||
|
