[
https://issues.apache.org/jira/browse/SHINDIG-219?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Vincent Siveton updated SHINDIG-219:
------------------------------------
Attachment: SHINDIG-219-v2.patch
SHINDIG-219-v1.patch
I provided 2 versions of my suggestions.
I also provided the javadoc
> Improve XML parse error messages
> --------------------------------
>
> Key: SHINDIG-219
> URL: https://issues.apache.org/jira/browse/SHINDIG-219
> Project: Shindig
> Issue Type: Improvement
> Components: Gadget Rendering Server (Java)
> Reporter: Nik Haldimann
> Priority: Minor
> Attachments: improve-xml-parse-errors.patch, SHINDIG-219-v1.patch,
> SHINDIG-219-v2.patch
>
>
> On malformed gadget specs and message bundles, Shindig currently passes
> through SAXParseErrors which are fairly opaque. At the Shindig client level
> there is also no way to figure out which file (gadget spec or message bundle)
> is malformed.
> This patch includes the file name in the SpecParserException message which
> improves the situation a bit. Includes tests.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.