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


Help: OASIS Mailing Lists Help | MarkMail Help



   Re: SAX2: Is XMLReader a bad name?

[ Lists Home | Date Index | Thread Index ]
  • From: David Brownell <david-b@pacbell.net>
  • To: Elliotte Rusty Harold <elharo@metalab.unc.edu>
  • Date: Thu, 24 Feb 2000 22:11:55 -0800

Elliotte Rusty Harold wrote:
> How about calling it something like "XMLParser" or "XMLScanner" that
> does not have any preexisting connotations in most programmers' minds?
> I'm not perfectly happy with these suggested names, and hope somebody
> has a better idea, but I do think that "XMLReader" is a mistake.

I always get confused by it too.  In part because in a former life I
wrote a class that really _was_ an XML "Reader" ... did all that hairy
autodetection of encoding, juggled buffering, IANA registered encoding
name translations, and so on.  It talked to a parser -- but wasn't one!

I'm not sure how "XMLReader" landed, but that's probably in the old
archives.  In any case I think "XML" as a prefix is a bit loaded, many
packages use it internally.  Better:  "SAX2Parser" or somesuch.

- Dave

This is xml-dev, the mailing list for XML developers.
To unsubscribe, mailto:majordomo@xml.org&BODY=unsubscribe%20xml-dev
List archives are available at http://xml.org/archives/xml-dev/threads.html


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

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