[
https://issues.apache.org/jira/browse/ISIS-269?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dan Haywood closed ISIS-269.
----------------------------
Resolution: Won't Fix
XML Objectstore has been mothballed; use the JDO/Datanucleus objectstore
instead.
> 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: ZZZ Mothballed: Objectstore: XML
> Affects Versions: 0.2.0-incubating
> Reporter: Kevin Meyer
> Priority: Minor
> Fix For: objectstore-xml-1.0.0
>
>
> 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 was sent by Atlassian JIRA
(v6.2#6252)