[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: half-baked parsers vs binary XML
David Megginson scripsit: > At least when I was maintaining it, AElfred didn't perform all of the > required well-formedness checks for different ranges of Unicode > characters allowed and not allowed in names, attribute values, > character data, etc. I tried adding it, but it bloated the code by > about 7-8K (much more than parsing the prolog and DTD). According to the corrigenda, attribute values and character data can now contain anything except (hex) 0000-0008, 000B-000C, 000E-001F, (ASCII controls), D800-DFFF (surrogates), and FFFE-FFFF (non-characters). Everything else should be allowed. There are some rules in Appendix B of XML that allow you to leverage the methods in Character. When I get a chance, i"ll write some Java code that correctly recognizes XML name and name-start characters. The big tables are already in the java.lang.Character class. -- John Cowan cowan@c... e'osai ko sarji la lojban. xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@i... Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1 To (un)subscribe, mailto:majordomo@i... the following message; (un)subscribe xml-dev To subscribe to the digests, mailto:majordomo@i... the following message; subscribe xml-dev-digest List coordinator, Henry Rzepa (mailto:rzepa@i...)
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|