You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@isis.apache.org by "Dan Haywood (JIRA)" <ji...@apache.org> on 2012/12/17 00:04:12 UTC
[jira] [Updated] (ISIS-269) The XML object store cannot handle all
"char" values
[ https://issues.apache.org/jira/browse/ISIS-269?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dan Haywood updated ISIS-269:
-----------------------------
Component/s: (was: Core)
> The XML object store cannot handle all "char" values
> ----------------------------------------------------
>
> Key: ISIS-269
> URL: https://issues.apache.org/jira/browse/ISIS-269
> Project: Isis
> Issue Type: Bug
> Components: Objectstore: XML
> Affects Versions: 0.2.0-incubating
> Reporter: Kevin Meyer
> Priority: Minor
>
> The XML object store relies on "facet.toEncodedString(associatedObject)" to return an XML compatible representation of the property value.
> For "char", this encoded string is the raw character.
> Which for values < 32, kills the XML decoder with "invalid unicode character .." exceptions.
> e.g. for character value (char) (20):
> The exception is:
> [Fatal Error] :6:31: An invalid XML character (Unicode: 0x14) was found in the element content of the document.
> The XML file contains:
> <value field="charProperty">|</value>
> (The actual character did not survive "copy&paste")
> If I use (char) 255:
> The XML file contains:
> <value field="charProperty">ΓΏ</value>
> Whether this is a problem with the char encoder or XML, is perhaps up for debate.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira