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

Re: parsers for Palm?

  • From: Tim Bray <tbray@t...>
  • To: David Brownell <david-b@p...>
  • Date: Mon, 28 Jun 1999 16:35:44 -0700

Re: parsers for Palm?
At 04:27 PM 6/28/99 -0700, David Brownell wrote:
>> Distinguish between <!DOCTYPE > and validation.  I do *not* agree
>> that parsing DTD syntax takes up 2/3 of a parser.
>
>I did distinguish between them. 
...
>Savings may not be 2/3 ... but I'd be _really_ surprised if they were
>less than 1/2.  The best way to know is to implement ... :-)

I did.

>But they can become a LOT
>smaller if they don't need to handle even that, and are relieved of
>the responsibilities to handle the syntax and state in a DOCTYPE.

I disagree.  We went through this quite a bit in the XML Syntax Working 
Group.  It is absolutely *not* the case that DTD parsing is demonstrably
very expensive.  There was a conventional wisdom floating about that
a parser for a DTD-free dialect of XML could deliver the same performance
and functionality in immensely less space.  Empirical analysis fails 
to support this contention.  Analysis of existing parsers shows immense 
amounts of work going into things like reading Unicode efficiently, doing 
well-formedness checks on entity nesting, and tracking locations to
support good error messages - I repeat that there is a resounding lack
of evidence to show that parsing DTD syntax is particularly taxing for
any competent programmer.  Even parameter entities aren't hard to
implement - they are hard to *describe*, just not hard to implement. -Tim

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!

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.
Email
First Name
Last Name
Company
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.