Share

Piccolo XML Parser for Java

Tracker: Bugs

5 Problem with Tomcat - ID: 1087201
Last Update: Tracker Item Submitted ( ege )

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.


Edwin Glaser ( ege ) - 2004-12-17 18:58

5

Open

None

Nobody/Anonymous

Other

v1.04

Public


Comments




Log in to comment.

No follow-up comments have been posted.

Attached File

No Files Currently Attached

Change

No changes have been made to this artifact.