I committed this patch which adds support for debugging XML streams via a system property (other suggestions welcomed) and also provides a workaround for a mark/reset problem somewhere in BufferedReader or CRLFReader by not reading more characters than are necessary in XMLParser.tryRead.

2006-06-07  Chris Burdess  <[EMAIL PROTECTED]>

    * gnu/classpath/debug/TeeInputStream.java,
      gnu/classpath/debug/TeeOutputStream.java,
      gnu/classpath/debug/TeeReader.java,
gnu/classpath/debug/TeeWriter.java: New classes for debugging streams. * gnu/xml/stream/XMLParser.java: Use tee streams for debugging. Don't
      read more characters than absolutely necessary in tryRead method.

--
犬 Chris Burdess
  "They that can give up essential liberty to obtain a little safety
  deserve neither liberty nor safety." - Benjamin Franklin




Attachment: patch
Description: Binary data

Attachment: PGP.sig
Description: This is a digitally signed message part

Reply via email to