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

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: SAX Comments

[ Lists Home | Date Index | Thread Index ]
  • From: David Blondeau <blondeau@intalio.com>
  • To: Rob Lugt <roblugt@elcel.com>, xml-dev@lists.xml.org
  • Date: Mon, 04 Dec 2000 16:43:44 -0800

look at the SAX 2.0 extensions:
http://www.megginson.com/Software/index.html

The LexicalHandler as what you are looking for (I hope).

FYI: These handlers are supported by the Apache serializers.

cheers,
David

----- Original Message -----
From: "Rob Lugt" <roblugt@elcel.com>
To: <xml-dev@lists.xml.org>
Sent: Monday, December 04, 2000 1:38 PM
Subject: SAX Comments


> The 1998 archives for this list include a discussion regarding a SAX
> callback for XML comments:-
>
> > Should SAX include an event for comments?
> >
> > public void comment (char ch[], int length);
>
> The consensus was that SAX should not include them.  However, this
decision
> was taken long before the final call for the XML Canonicalization
> recommendation - which includes support for comments.
>
> As SAX stands it cannot be used to create a canonical XML document with
> comments.  I feel this is a shortcoming that should be addressed.
>
> Any thoughts?
>
> Regards
> Rob Lugt
> ElCel Technology
>


  • References:



 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS