OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help



   Validation and Parser Bloat (was: Re: parsers for Palm?)

[ Lists Home | Date Index | Thread Index ]
  • From: David Megginson <david@megginson.com>
  • To: XML-Dev Mailing list <xml-dev@ic.ac.uk>
  • Date: Tue, 29 Jun 1999 14:22:48 -0400 (EDT)

Tim Bray writes:

 > Distinguish between <!DOCTYPE > and validation.  I do *not* agree
 > that parsing DTD syntax takes up 2/3 of a parser.  On the other hand,
 > it's reasonable to expect a validating parser to be twice the size
 > of a non-validating one.  Note that nearly all the existing 
 > validating parsers parse DTD syntax just fine. -T.

>From my hazy recollection, parsing everything inside <!DOCTYPE> added
about 10% to AElfred's size, and that included keeping information
from the declarations (but not validation per se).  The biggest size
bloat -- at least 30% -- came from having to work around inefficient
Java library classes by adding custom buffering and hash-table

All the best,


David Megginson                 david@megginson.com

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@ic.ac.uk
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@ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@ic.ac.uk)


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS