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] [Commented] (CONFIGURATION-450) CDATA is not handled properly for XMLConfiguration
Date Tue, 31 May 2011 06:21:47 GMT

    [ https://issues.apache.org/jira/browse/CONFIGURATION-450?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13041455#comment-13041455
] 

Daniel Baktiar commented on CONFIGURATION-450:
----------------------------------------------

Hi Oliver,

I will try to investigate and check the whether the XML passed is valid.

I will check as well which parser is in use when the error happens.

Just want to check with you? Do we use the Apache commons-digester for the parsing?

Thanks.


> 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
>   Original Estimate: 120h
>  Remaining Estimate: 120h
>
> 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