This patch applies the previous CRLF detection patch to the StAX- specific CRLFReader, and addresses a problem whereby CRLFInputStream and LineInputStream would expose the mark-capable functionality of the underlying stream, which they were already using (causing potential mark out-of-sync problems).

2006-02-25  Chris Burdess  <[EMAIL PROTECTED]>

        * gnu/java/net/CRLFInputStream.java,
          gnu/java/net/LineInputStream.java: Streams that use mark
          capabilities on the underlying stream do not expose mark
          functionality themselves.
* gnu/xml/stream/CRLFReader.java: Fix incorrect end condition when
          off > 0.

--
犬 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