You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-dev@ws.apache.org by Steven McDowall <sj...@aptest.com> on 2000/07/13 19:21:34 UTC

Marshalling error? Certainly some bug..

Strange..

This seems to have gotten eaten :-)

So, here it is again..

-----Original Message-----

Now, that I did get soap running for the demos, etc. I figured I would try
to see
how robust it was.. :-)

Anyway, using the stockquote for a "test bed" I tried the following
	java blah.blah URL  "IBM"

Which worked spiffy..

Then I tried
	java blah.blah URL "<IBM>"

Sure enough, BOMB.. Got a DOM parse error on the server side .. Looking at
the
Tunnel data.. I saw (no surprise) :
	<symbol xsi:type="xsd:string"><IBM></symbol>

As you can see, whoever "marshaled" the data did NOT escape the < or >,
which caused
a nasty error on the other side.

In a similar vein I tried :
	java blah.blah.blah URL "<IBM/>"

Which caused a null exception pointer error on the server side.. :-)

Doesn't XML say to translate <, >, etc. into unicode things? &#00XX or
whatever?

Any ideas?

-Steve


---
Steven J. McDowall                 phone: +1 763 780-8814
ApTest                               fax: +1 763 786-8180
                                  e-mail: sjm@aptest.com