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

Re: Article: "The horror of XML"

Re:  Article: "The horror of XML"
Someone wrote doubting that parsers that accept non-WF XML really exist,
but we use a couple of them in our editor: we have to, to allow import, indenting,
auto-correction and so on. 

For a paper on one of the approaches, "Editor's Concrete Syntax", see 

Also, several years ago I wrote a C parser for a language STAX that did the
same kind of minimization: the rationale being that compression might be too
much processing for some uses.  It is floating about somewhere too.

This kind of thing is fine, as long as we don't call them XML parsers. 
Really, how much cost is it to skip PIs or over a DOCTYPE declaration
in a parser? Just a handful of extra states or rows in a state table.  I think
it is fine for a profile to say "don't use comments" but another thing to
write a parser in which comments break your parse:  there are lots of
legitimate reasons why you might want to continue to parse a bad document
(error recovery, reporting, repair) but almost none for failing on a good
document IMHO.

Rick Jelliffe


Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
First Name
Last Name
Subscribe in XML format
RSS 2.0
Atom 0.3

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.

Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

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-2013 All Rights Reserved.