Some applications like soap-webservices call up the parser with a
CoyoteInputStream. Unfortunately MLStreamReader.reset() ->
fillByteBuffer() --> CoyoteInputStream.availible() returns 0. So
PiccoloLexer.yylex() throws an exception "XML declaration is not
Probably The Servlet InputStream has a design flaw witch will not
be fixed. The first read() switches between charmode and
bytemode and availible() can't return the correct number until
the decision is made.
Log in to post a comment.