Uploaded image for project: 'Commons Configuration'
  1. Commons Configuration
  2. CONFIGURATION-450

CDATA is not handled properly for XMLConfiguration

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Invalid
    • Affects Version/s: 1.6
    • Fix Version/s: None
    • Component/s: Build
    • Labels:
      None

      Description

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

      <?xml version="1.0" encoding="UTF-8" ?>
      <abc>
      <def>
      <ghi><Unable to render embedded object: File ([CDATA[~) not found.@#$%^&]]></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.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              dbaktiar Daniel Baktiar
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 120h
                120h
                Remaining:
                Remaining Estimate - 120h
                120h
                Logged:
                Time Spent - Not Specified
                Not Specified