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

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: XML parsing performance

[ Lists Home | Date Index | Thread Index ]
  • From: David Brownell <david-b@pacbell.net>
  • To: Vilya Harvey <vilya@nag.co.uk>
  • Date: Wed, 27 Oct 1999 11:01:20 -0700

Vilya Harvey wrote:
> 
> >  2) Using attribute's instead of nodes.
> 
> This is probably a bit of a red herring, although it may have some (fairly
> negligible) impact depending on the parser you use.

Depends on the DTD you use, actually.  I think attributes are more
expensive to parse; they certainly need normalization and defaulting,
which elements don't use.  Parsers fill out an auxiliary data structure
and then scan it ...

Don't get me wrong, this shouldn't be a design consideration, but I
do believe that there's a minor price to pay in _all_ parsers.

- Dave

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 unsubscribe, mailto:majordomo@ic.ac.uk the following message;
unsubscribe 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