You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@santuario.apache.org by "Peter De Maeyer (Jira)" <ji...@apache.org> on 2020/02/04 21:41:00 UTC
[jira] [Comment Edited] (SANTUARIO-523) XMLSecurityStreamReader
ignores information in XML document declaration
[ https://issues.apache.org/jira/browse/SANTUARIO-523?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17030144#comment-17030144 ]
Peter De Maeyer edited comment on SANTUARIO-523 at 2/4/20 9:40 PM:
-------------------------------------------------------------------
Patch attached.
[~coheigea], just out of curiosity (I'm new to this project) - why not just merge the pull request and avoid the hassle with the patch?
Or are the sources in GitHub maybe not the authoritative ones?
If not, which sources are then the authoritative ones? The svn ones?
was (Author: peterdm):
Patch attached.
Just out of curiosity - I'm new to this project - why not just merge the pull request to avoid the hassle with the patch?
Or are the sources in GitHub maybe not the authoritative ones?
If not, which sources are then the authoritative ones? The svn ones?
> XMLSecurityStreamReader ignores information in XML document declaration
> -----------------------------------------------------------------------
>
> Key: SANTUARIO-523
> URL: https://issues.apache.org/jira/browse/SANTUARIO-523
> Project: Santuario
> Issue Type: Bug
> Components: Java
> Affects Versions: Java 2.1.4
> Reporter: Peter De Maeyer
> Assignee: Colm O hEigeartaigh
> Priority: Major
> Fix For: Java 2.2.0, Java 2.1.5
>
> Attachments: SANTUARIO-523.patch
>
>
> {{XMLSecurityStreamReader}} ignores information such as version, character encoding scheme and standalone-ness in the XML document declaration.
> The implementation always returns {{null}}/{{false}}, indicating the defaults version "1.0", character encoding scheme "UTF-8", even if the XML document specifies something else.
> The following example will have the wrong version, encoding and standalone-ness:
> {code:xml}
> <?xml version='1.1' encoding='ISO-8859-1' standalone='yes'?>
> </Document>
> {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)