[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Rebelling parser writers (Was: ]]> within a CDATA marked section ?)
Jarle Stabell wrote: > > [JS] I'm actually surprised that I haven't heard much rebelling here. :-) > I think there are lots of *non-trivial* things parser writers > must manage in XML, so I don't think they care much about trivial > things if they actually are useful to many users. That's not the feedback we are getting from other implementors. They have complained about things like allowing two kinds of quotes for attribute values, having CDATA marked sections, having to check the well formedness of element declarations and so forth. > My current "favourite XML annoyance" is the rules for entity expansion, which makes writing the name AT&T in an entity rocket science for the average XML user, and probably gives some implementors gray hairs. I'm not sure what you mean by that. Doesn't this work: <!ENTITY AT-T "AT&T"> Where's the rocket science? > After attempting to process a document containing errors, I want to present to the user a list of error messages, and when the user clicks on one of these messages, I want to highlight the exact part of the document where the error occurs. I would suggest you look at the implementation of SP which handles all of these by keeping information about the storage position (filename, line number, etc.) of each entity. Paul Prescod 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/ 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
|