>>>>> "Chris" == Chris Burdess <[EMAIL PROTECTED]> writes:

Chris> I know that a few people have been having problems debugging
Chris> XML usage in their applications, so if you didn't know already
Chris> you can invoke both the SAX and the StAX parser from the
Chris> command line with e.g.
Chris>    jamvm gnu.xml.stream.SAXParser -v -n -c  org.me.MyContentHandler
Chris>    .../file-to-test.xml

Whenever we write manuals for the tools, this ought to be added there.
Looks cool btw.

Chris> I discussed some issues of trying to debug XML parsing embedded in
Chris> 3rd party applications (where you typically don't have access to the
Chris> XML input the application tries to parse) with twisti on IRC. I
Chris> suggested that using a tee input stream or reader in those
Chris> circumstances would be a good idea, to tee the XML input being
Chris> received into a file (or perhaps directory of files?). If other
Chris> people think this would be useful, we could perhaps include a
Chris> TeeInputStream and TeeReader (and possible output streams and
Chris> writers) in Classpath that could be installed via a system property
Chris> or some other such mechanism. I'd appreciate any thoughts on this.

It sounds reasonable to me.

Tom

Reply via email to