This content has been marked as final.
Show 3 replies
-
1. Re: Deserialization loses data when HTML looking data is pas
anil.saldhana Aug 18, 2005 6:45 PM (in response to keenan)http://jira.jboss.com/jira/browse/JBWS-362
We had an issue to investigate the return of "carriage return". I have updated that issue to investigate the retutn of html elements in a string. -
2. Re: Deserialization loses data when HTML looking data is pas
anil.saldhana Aug 21, 2005 11:59 PM (in response to keenan)http://jira.jboss.com/jira/browse/JBWS-362
lists guidelines on passing HTML tags within a string. Basically xsd:String cannot be used. You will have to use xsd:any for this. As the String basic schema type forbids nested tags. Look at the aforementioned JIRA issue. -
3. Re: Deserialization loses data when HTML looking data is pas
keenan Aug 22, 2005 6:22 PM (in response to keenan)Anil,
Thanks for your attention.
However, the instance document does not contain HTML because the serializer on the client side (generated by JWSDP) converted<em>
to<em>
(The second block is supposed to contain the characters "& l t ; e m & g t ;" in case they get changed back to the symbols).
So the problem isn't that I'm passing HTML (which I agree is invalid unless the schema uses xsd:any), instead I think the string parsing routine is splitting the string up on "special character" boundaries, and only storing the last chunk into the value object artifact.
For example, although I'm not in a position to test it right now, I believe changing the test case to attempt to pass the stringJoan & Ed
will result in just the " Ed" part being stored into the value object.
--keenan