[JIRA] (JSSH-13) Add unit tests for XML parser issues

Scott Cantor (Jira) jira at shibboleth.atlassian.net
Wed Oct 12 14:29:24 UTC 2022


Scott Cantor ( https://shibboleth.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A5b78efc9-1379-42cc-a3f6-56c6ea3a0007 ) *resolved* as *Done*

Two of the tests behaved as expected and are now active, expecting exceptions and will complain if the parser accepts the bad input.

One of the tests for weird DTD syntax is not throwing, and my notes suggest that it was at some point, presumably in Java 11. Either my notes are wrong or Java regressed, but I don't have a strong idea which. It's a DTD bug, and we're not exposed to that in practice, so for now it's checked in disabled.

Shibboleth Shared - Java ( https://shibboleth.atlassian.net/browse/JSSH?atlOrigin=eyJpIjoiYzEwMTViZTNlZGUzNDc4ZWJmYzE2ZjE0MDNkNTE4MjkiLCJwIjoiaiJ9 ) / Task ( https://shibboleth.atlassian.net/browse/JSSH-13?atlOrigin=eyJpIjoiYzEwMTViZTNlZGUzNDc4ZWJmYzE2ZjE0MDNkNTE4MjkiLCJwIjoiaiJ9 ) JSSH-13 ( https://shibboleth.atlassian.net/browse/JSSH-13?atlOrigin=eyJpIjoiYzEwMTViZTNlZGUzNDc4ZWJmYzE2ZjE0MDNkNTE4MjkiLCJwIjoiaiJ9 ) Add unit tests for XML parser issues ( https://shibboleth.atlassian.net/browse/JSSH-13?atlOrigin=eyJpIjoiYzEwMTViZTNlZGUzNDc4ZWJmYzE2ZjE0MDNkNTE4MjkiLCJwIjoiaiJ9 )

Change By: Scott Cantor ( https://shibboleth.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A5b78efc9-1379-42cc-a3f6-56c6ea3a0007 ) Resolution: Done Status: Open Resolved

( https://shibboleth.atlassian.net/browse/JSSH-13#add-comment?atlOrigin=eyJpIjoiYzEwMTViZTNlZGUzNDc4ZWJmYzE2ZjE0MDNkNTE4MjkiLCJwIjoiaiJ9 ) Add Comment ( https://shibboleth.atlassian.net/browse/JSSH-13#add-comment?atlOrigin=eyJpIjoiYzEwMTViZTNlZGUzNDc4ZWJmYzE2ZjE0MDNkNTE4MjkiLCJwIjoiaiJ9 )

Get Jira notifications on your phone! Download the Jira Cloud app for Android ( https://play.google.com/store/apps/details?id=com.atlassian.android.jira.core&referrer=utm_source%3DNotificationLink%26utm_medium%3DEmail ) or iOS ( https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=EmailNotificationLink&mt=8 ) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100208- sha1:399748d )
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/commits/attachments/20221012/68098850/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-static-comment-icon-a93b0ef4-d809-4547-b555-3dd82e4c1288
Type: image/png
Size: 1084 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20221012/68098850/attachment-0003.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-static-footer-desktop-logo-11734d3f-7772-4519-bd32-cd084421edc7
Type: image/png
Size: 10805 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20221012/68098850/attachment-0004.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-avatar-618bd20e-7d7e-4bbc-9ff7-606da5550f59
Type: image/png
Size: 468 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20221012/68098850/attachment-0005.png>


More information about the commits mailing list