Fast filter support in SAX2

John Cowan cowan at locke.ccil.org
Sun Mar 28 06:35:48 BST 1999


Lars Marius Garshol scripsit:

> This terminology is also used in Common Lisp and Python, and probably
> many other places as well.

It was born in the LISP environment, where atoms were "interned on the
OBLIST" to make them unique.

> However, then we need to define the element stack interface and what
> should be included there. Just the elements? Elements and attributes?
> Elements, attributes and sibling number? Which entity each element
> comes from?

Just the element types, IMHO.  This is very easy to expose as Strings
for almost any kind of parser.  If you want more, do it yourself.

> Maybe this should be done outside the SAX core?

It certainly can be, but the parser is already doing it, and why
reinvent the wheel?

-- 
John Cowan					cowan at ccil.org
		e'osai ko sarji la lojban.

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




More information about the Xml-dev mailing list