CDATA is not handled properly for XMLConfiguration
--------------------------------------------------

                 Key: CONFIGURATION-450
                 URL: https://issues.apache.org/jira/browse/CONFIGURATION-450
             Project: Commons Configuration
          Issue Type: Bug
          Components: Build
    Affects Versions: 1.6
            Reporter: Daniel Baktiar


The XMLConfiguration does not handle XML CDATA escape properly. For example:

<?xml version="1.0" encoding="UTF-8" ?>
<abc>
  <def>
    <ghi><![CDATA[~!@#$%^&]]></ghi>
  </def>
</abc>

will give error message:
The element type "ghi" must be terminated by the matching end-tag "</ghi>".

I expect that normal escaping should occur with the standard XML CDATA escape.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to