[
https://jira.nuxeo.com/browse/NXS-85?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=100823#comment-100823
]
Anahide Tchertchian commented on NXS-85:
----------------------------------------
backport:
https://hgpriv.nuxeo.org/nuxeo-studio/rev/9d076de3b3a4
> Validate XML extensions when saving
> -----------------------------------
>
> Key: NXS-85
> URL: https://jira.nuxeo.com/browse/NXS-85
> Project: Nuxeo Studio
> Issue Type: Bug
> Components: Validation
> Reporter: Anahide Tchertchian
> Assignee: Anahide Tchertchian
> Fix For: 2.3.3, 2.4, Short term backlog
>
>
> 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.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
ECM-tickets mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm-tickets