Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > XML > Comments in SAX2

Reply
Thread Tools

Comments in SAX2

 
 
Christian Roth
Guest
Posts: n/a
 
      07-22-2004
Hi,

as far as I can see there is no callback method defined for comments in
SAX2's ContentHandler interface.

1) Why is this omission?

2) How can I get also the contents of XML comments from a source XML
file via a SAX-like interface?

Regards, Christian.
--
Christian Roth
Email: roth (at) visualclick (dot) de
Mac.Java.Pasta.Sopranosax.Single.
 
Reply With Quote
 
 
 
 
Christian Roth
Guest
Posts: n/a
 
      07-22-2004
Christian Roth <(E-Mail Removed)> wrote:

> 2) How can I get also the contents of XML comments from a source XML
> file via a SAX-like interface?


Sorry for the bandwidth - just found out that LexicalHandler is my
friend...

Regards, Christian.
--
Christian Roth
Email: roth (at) visualclick (dot) de
Mac.Java.Pasta.Sopranosax.Single.
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Java and SAX2 pp Java 5 08-03-2005 02:34 AM
Problems with SAX parser in Java (SAX2 driver class javax.xml.parsers.SAXParser found but cannot be loaded) Per Magnus L?vold Java 0 11-16-2004 04:02 PM
Perl + SAX2 = slow? Jesse Thompson XML 13 09-15-2004 11:47 AM
Tutorials/examples for SAX2 with Perl Kenneth Porter XML 2 12-13-2003 09:53 PM
I need help on aborting msxml3 sax2 parser Asana MCSD 0 06-30-2003 01:02 PM



Advertisments