[prev in list] [next in list] [prev in thread] [next in thread] 

List:       xmlbeans-dev
Subject:    [jira] Created: (XMLBEANS-393) CDATA text not properly handled for
From:       "James (JIRA)" <xmlbeans-dev () xml ! apache ! org>
Date:       2008-12-18 22:21:44
Message-ID: 1898813694.1229638904470.JavaMail.jira () brutus
[Download RAW message or body]

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: dev-unsubscribe@xmlbeans.apache.org
For additional commands, e-mail: dev-help@xmlbeans.apache.org


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic