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

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: Two more SAX2 (0601) Parsers

[ Lists Home | Date Index | Thread Index ]
  • From: David Brownell <david-b@pacbell.net>
  • To: xml-dev@ic.ac.uk
  • Date: Thu, 24 Jun 1999 02:11:32 -0700

I've just provided an update here.  Only minor fixes were needed to those
parsers, but now there's more:

	- A "DOM Parser" emitting a SAX2 (alpha) event stream
	  given a DOM Document as input;

	- An "Echo Handler" which does a very accurate job of
	  turning such events back into well formed XML, with
	  full DOCTYPE declaration, comments, CDATA sections,
	  unexpanded entity references, and so on;

	- Some simple example code;

	- Some small tweaks to the license.  (Thanks John!)

And would you believe the README file has been replaced with a file
called "index.xml", valid and with CSS?  Works in Mozilla M6; I've
not tried M7 yet.  It's translated to HTML for users of Lynx, IE5, and
other browsers.  (IE5 doesn't handle lists, links, and some other
important features, but it's worth checking out what it does handle.)

- Dave



David Brownell wrote:
> 
> Have a look at
> 
>         http://home.pacbell.net/david-b/xml/
> 
> You can download adapters that put SAX2 interfaces onto Sun's "Project X"
> parsers (current release:  TR2) and the Swing HTML parser.
> 
> This release can be used with only the addition of the TR2 release; it
> includes classes and javadoc, as well as the full sources (not like they're
> that huge, though).
> 
> SAX2 "Feature" list:
>         true, false     validation
>         true            external-{general,parameter}-entities
>         true            use-locator
>         false           namespaces, normalize-text
> 
> The XML parser supports both the "DeclHandler" and "LexicalHandler" from
> the SAX2 draft.  The only known caveats there:  you won't see paramter
> entities exposed, or expansions of general entities from attribute values.
> 
> The license is a modified QPL (Open Source).
> 
> - Dave

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/ and on CD-ROM/ISBN 981-02-3594-1
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