Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ServletException occurs when image returned instead of expected exception report #1

Closed
bermud opened this issue Jul 24, 2014 · 2 comments
Labels
Milestone

Comments

@bermud
Copy link
Contributor

bermud commented Jul 24, 2014

The test 'getcoverage_operations-getcoverage_request-grid_size-get-xml-2' is
intended to elicit an exception report. However, if the SUT returns an image
resource it is serialized in the test log, producing malformed XML that cannot
be parsed when the report is being generated at the end of the test run.

A ServletException (status code 500) is raised with the following root cause:

    net.sf.saxon.trans.XPathException:
    org.xml.sax.SAXParseException; lineNumber: 97; columnNumber: 36; Character reference \""&#8\"" is an invalid XML character.

https://portal.opengeospatial.org/services/srv_public_issues.php?call=viewIssue&issue_id=951

Original in CITE Issue Tracker - 2014-06-05 15:33:54

@bermud
Copy link
Contributor Author

bermud commented Jul 24, 2014

Fixed in r7. Add parsers:HeadersParser to request and check Content-Type header for XML entity instead of message body.
Entered By: Martell, Richard - 2014-06-05 16:52:07

@bermud
Copy link
Contributor Author

bermud commented Sep 17, 2014

Fix was deployed in beta in r7 in June 19 2014

@bermud bermud closed this as completed Sep 17, 2014
@bermud bermud added this to the r7 milestone Oct 2, 2014
@bermud bermud added the bug label Oct 2, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant