Uploaded image for project: 'Nuxeo Studio'
  1. Nuxeo Studio
  2. NXS-85

Validate XML extensions when saving

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.3.3, 2.4
    • Component/s: Validation
    • Backlog priority:
      200

      Description

      When adding an XML extension with invalid XML (or just content), there is no validation error at save, but export crashes with an error, for instance:

      HTTP ERROR: 500
      org.dom4j.DocumentException: Error on line 17 of document : XML document structures must start and end within the same entity. Nested exception: XML document structures must start and end within the same entity.

      or:
      HTTP ERROR: 500
      org.dom4j.DocumentException: Error on line 1 of document : Content is not allowed in prolog. Nested exception: Content is not allowed in prolog.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                atchertchian Anahide Tchertchian
                Reporter:
                atchertchian Anahide Tchertchian
                Participants:
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: