Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > XML > Java Sax Parser - outputting doctype

Reply
Thread Tools

Java Sax Parser - outputting doctype

 
 
J. Chris Tilton
Guest
Posts: n/a
 
      11-28-2003


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?


 
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
CSS Newbie - CSS Works With Invalid DOCTYPE. Fails With Valid DOCTYPE. Larry Lindstrom HTML 19 06-12-2012 02:07 PM
DOCTYPE + SAX jdownie Python 2 04-09-2011 11:48 PM
catching doctype using xml.sax -- please Sakcee Python 1 04-25-2006 09:25 AM
validate xml with scgema using sax gets a: "Valid documents musthave a <!DOCTYPE declaration." Ray Tayek Java 13 12-02-2003 02:17 PM



Advertisments