Java Sax Parser - outputting doctype

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • J. Chris Tilton

    #1

    Java Sax Parser - outputting doctype



    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?


Working...