commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Baktiar (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CONFIGURATION-450) CDATA is not handled properly for XMLConfiguration
Date Mon, 30 May 2011 07:17:47 GMT
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

Mime
View raw message