Java Sax Parser - outputting doctype

Discussion in 'XML' started by J. Chris Tilton, Nov 28, 2003.

  1. I was given the task of parsing XML docs with SAX. I am trying to use sax
    implementing filters to do the processing. In some circumstances the XML
    document will simply be output verbatim (what is read in is simply output
    with no changes) - including the DOCTYPE from the input XML. I had a
    problem where namespaces were not being output, but I was able to figure
    this out. But the DOCTYPE is simply being "eaten" by the parser. Is there
    a parameter that I need to change?
     
    J. Chris Tilton, Nov 28, 2003
    #1
    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. Ray Tayek
    Replies:
    13
    Views:
    2,968
    Ray Tayek
    Dec 2, 2003
  2. Per Magnus L?vold
    Replies:
    0
    Views:
    2,077
    Per Magnus L?vold
    Nov 16, 2004
  3. Sakcee
    Replies:
    1
    Views:
    323
    Diez B. Roggisch
    Apr 25, 2006
  4. jdownie

    DOCTYPE + SAX

    jdownie, Apr 9, 2011, in forum: Python
    Replies:
    2
    Views:
    270
    jdownie
    Apr 10, 2011
  5. Larry Lindstrom
    Replies:
    19
    Views:
    1,353
    Jonathan N. Little
    Jun 12, 2012
Loading...

Share This Page