Comments in SAX2

Discussion in 'XML' started by Christian Roth, Jul 22, 2004.

  1. 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.
     
    Christian Roth, Jul 22, 2004
    #1
    1. Advertising

  2. Christian Roth <> 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.
     
    Christian Roth, Jul 22, 2004
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Per Magnus L?vold
    Replies:
    0
    Views:
    2,036
    Per Magnus L?vold
    Nov 16, 2004
  2. pp

    Java and SAX2

    pp, Aug 2, 2005, in forum: Java
    Replies:
    5
    Views:
    495
  3. Kenneth Porter

    Tutorials/examples for SAX2 with Perl

    Kenneth Porter, Dec 13, 2003, in forum: XML
    Replies:
    2
    Views:
    491
    Tad McClellan
    Dec 13, 2003
  4. Jesse Thompson

    Perl + SAX2 = slow?

    Jesse Thompson, Sep 13, 2004, in forum: XML
    Replies:
    13
    Views:
    2,186
    =?ISO-8859-1?Q?J=FCrgen_Kahrs?=
    Sep 15, 2004
  5. Replies:
    2
    Views:
    3,452
Loading...

Share This Page