Re: SAX and namespaces: an implementation

Peter Murray-Rust (peter@ursus.demon.co.uk)
Fri, 24 Jul 1998 23:49:39


At 16:40 24/07/98 -0400, John Cowan wrote:

[... an exciting description of a namespace-aware SAX implementation...]

>
>Three new classes are involved: org.xml.sax.ParserFilter,
>org.xml.sax.helpers.PseudoAttributeList, and
>org.xml.sax.helpers.NamespaceFilter. (I want this to be
>a standard part of the SAX package, but if David objects
>I'll change the package names to org.ccil.cowan.sax.)

I'll let David answer this but I am sure we can manage the same communal
approach as has been so successful so far.

>I think this pretty much does everything that people on the list
>said they wanted (except namespace-rules validation), and without
>burdening SAX parsers or requiring SAX applications to choose
>between ns-aware parsers and ns-unaware ones. Instead,
>it is *applications* which are ns-aware or not, and handle their
>needs by using NamespaceFilter or not.

This sounds very promising. Let's hope it maps easily onto the next draft.

P.

Peter Murray-Rust, Director Virtual School of Molecular Sciences, domestic
net connection
VSMS http://www.nottingham.ac.uk/vsms, Virtual Hyperglossary
http://www.venus.co.uk/vhg