cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marek Šabo (JIRA) <>
Subject [jira] [Updated] (CAY-1581) Not-Escaping <> during serialization to *.map.xml
Date Wed, 06 Jul 2011 13:03:16 GMT


Marek Šabo updated CAY-1581:

    Component/s:     (was: Modeler)
                 Core Library

I dug around a little and seems the problem is not in modeler part. This instance specifically
fails in 's encodeAsXML method. Question is how to tackle
this. Whether or not to allow special chars (&quot; &apos; &lt; &gt; &amp;)
in modeler input or add utility method that would escape aforementioned characters during

> Not-Escaping <> during serialization to *.map.xml
> -------------------------------------------------
>                 Key: CAY-1581
>                 URL:
>             Project: Cayenne
>          Issue Type: Bug
>          Components: Core Library
>    Affects Versions: 3.0.1
>            Reporter: Marek Šabo
>            Assignee: Dzmitry Kazimirchyk
> Object entity -> attributes tab -> type column
> E.g. when using custom types (extended types) you specify custom class name in the type
column. Sometimes it needs to be parametrized type, e.g. Validator<Integer>. During
save the modeler fails to escape <> and thus the serialized *.map.xml becomes invalid
(and subsequently can't be read by modeler). When escaped as &lt; and &gt; , modeler
loads the project successfully. 

This message is automatically generated by JIRA.
For more information on JIRA, see:


View raw message