CDATA text not properly handled for mixed content element types
---------------------------------------------------------------
Key: XMLBEANS-393
URL: https://issues.apache.org/jira/browse/XMLBEANS-393
Project: XMLBeans
Issue Type: Bug
Affects Versions: Version 2.4
Reporter: James
Using the new CDATA XMLBookmark for elements with mixed content causes invalid
XML to be generated. For example, the following input:
<?xml version="1.0"?>
<animal><![CDATA[yellow]]>
<elephant>
<![CDATA[red]]>
</elephant>
</animal>
Is displayed as follows after having been parsed using the
useCDataBookmarks(true) XmlOptions:
<?xml version="1.0"?>
<animal><![CDATA[yellow
red
]]</animal>
Notice that the <elephant> element is missing.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]