Menu

#24 Problem with Tomcat

v1.04
open
nobody
Other (7)
5
2004-12-17
2004-12-17
No

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
well-formed".

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.

Discussion


Log in to post a comment.