Roger Lau created XSTR-698:
------------------------------
Summary: Degree char (\u00B0) is being written to XML with an
angstrom char preceding it.
Key: XSTR-698
URL: https://jira.codehaus.org/browse/XSTR-698
Project: XStream
Issue Type: Bug
Components: Core
Affects Versions: 1.4.2
Reporter: Roger Lau
Assignee: Joerg Schaible
Xstream has been an excellent framework to use and I've been very impressed
with it. I do have one small issue with the degree character when it's
marshalled to xml though.
I am using Xstream to write our AddChecksheetForm object to Xml. There a
several String fields which contain the degree character (\u00B0). When the
AddChecksheetForm is marshalled, the resulting xml contains the degree symbol
but it's preceded by an angstrom symbol (\u212B).
I have written a custom converter (AddChecksheetFormConverter) but the code to
write out these strings is pretty simple. Here's an example:
writer.startNode("tempRangeMin");
writer.setValue(checksheetForm.getTempRangeMin());
writer.endNode();
How do I fix this issue? Or is this a bug?
Thanks
Roger
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
<hr/>
<p>
To unsubscribe from this list please visit:
</p>
<p>
<a
href="http://xircles.codehaus.org/manage_email">http://xircles.codehaus.org/manage_email</a>
</p>