cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrus Adamchik (JIRA)" <j...@apache.org>
Subject [jira] Created: (CAY-1252) Bad XML generated when saving DBEntity qualifiers
Date Tue, 21 Jul 2009 13:31:15 GMT
Bad XML generated when saving DBEntity qualifiers
-------------------------------------------------

                 Key: CAY-1252
                 URL: https://issues.apache.org/jira/browse/CAY-1252
             Project: Cayenne
          Issue Type: Bug
          Components: Cayenne Core Library, CayenneModeler GUI
    Affects Versions: 3.0M6
            Reporter: Andrus Adamchik
            Assignee: Andrey Razumovsky


When saving our unit test model with the trunk version of Modeler I get double CDATA declaration:

index 44c2851..d2e230c 100644
--- a/framework/cayenne-jdk1.5-unpublished/src/test/resources/locking.map.xml
+++ b/framework/cayenne-jdk1.5-unpublished/src/test/resources/locking.map.xml
@@ -28,7 +28,7 @@
                <db-attribute name="DELETED" type="BOOLEAN"/>
                <db-attribute name="NAME" type="VARCHAR" length="100"/>
                <db-attribute name="SOFT_TEST_ID" type="INTEGER" isPrimaryKey="true" isMandatory="true"/>
-               <qualifier><![CDATA[DELETED = false]]></qualifier>
+               <qualifier><![CDATA[<![CDATA[DELETED = false]]>]]></qualifier>
        </db-entity>
        <db-entity name="TIME_LOCKING_TEST">
                <db-attribute name="NAME" type="VARCHAR" length="100"/>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message