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

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   ANN: SAX ParserFilters

[ Lists Home | Date Index | Thread Index ]
  • From: John Cowan <cowan@locke.ccil.org>
  • To: XML Dev <xml-dev@ic.ac.uk>
  • Date: Mon, 14 Sep 1998 13:43:18 -0400

I have released beta code for two SAX parser filters.  A parser filter
looks like a standard SAX parser, but relies on an underlying real
parser to do the work, and adds some extra service.

NamespaceFilter provides an implementation of the XML Namespaces
WD.  All element and attribute names are resolved to the form
"URI^localpart", where URI may be null.  The circumflex character
is not legal in either URIs or localparts.  The non-SAX methods
mapElementName() and mapAttributeName() convert element or attribute
names to "URI^localpart" form according to the current set of
namespace prefixes.

InheritanceFilter provides support for inheritable attributes.
By default, only xml:space and xml:lang are inheritable, but
applications may call the non-SAX method inheritable() to specify
other inheritable attributes.

The abstract class ParserFilter provides the basic mechanism for
writing parser filters.

-- 
John Cowan	http://www.ccil.org/~cowan		cowan@ccil.org
	You tollerday donsk?  N.  You tolkatiff scowegian?  Nn.
	You spigotty anglease?  Nnn.  You phonio saxo?  Nnnn.
		Clear all so!  'Tis a Jute.... (Finnegans Wake 16.5)

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/
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