Uploaded image for project: 'XWiki Commons'
  1. XWiki Commons
  2. XCOMMONS-1525

XAR plugin xar:verify passing when a bad XML is provided

    Details

    • Difficulty:
      Unknown
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      Description

      When providing a bad XML file, such as containing:

      <property>
      <code>
      $('<a></a>');
      </code>
      </property>
      

      running `mvn xar:verify` succeeds, but the page cannot be imported.

      Expected:
      xar:verify should immediately fails with the appropriate error.

        Attachments

          Activity

            People

            • Assignee:
              tmortagne Thomas Mortagne
              Reporter:
              surli Simon Urli
            • Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Date of First Response: