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

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Revised NamespaceFilter

[ Lists Home | Date Index | Thread Index ]
  • From: John Cowan <cowan@locke.ccil.org>
  • To: XML Dev <xml-dev@ic.ac.uk>
  • Date: Wed, 12 Aug 1998 18:00:09 -0400

A revised NamespaceFilter SAX parser, conforming (more or less)
to the new namespace draft, is now available at:

http://www.ccil.org/~cowan/XML/ns.jar .

This is source code only.  It now looks *exactly* like a regular
SAX parser, and can be specified to any SAX application using
-Dorg.xml.sax.parser=org.ccil.cowan.sax.NamespaceFilter.

The real SAX parser must be specified as the value of the Java property org.ccil.cowan.sax.ParserFilter.org.ccil.cowan.sax.NamespaceFilter.
Yes, I know it's ugly.

This version uses the dagger (U+2020) in UniversalNames to separate
the URI from the localPart.  When the event structure for
namespace-aware SAX parsers settles, I will modify it to use that.
Note that the JDK1.1.5 console driver prints the dagger as "?", but it
isn't really a "?".

Feedback is earnestly solicited.

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