[ https://issues.apache.org/jira/browse/CAMEL-12181?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16346340#comment-16346340 ]
ASF GitHub Bot commented on CAMEL-12181: ---------------------------------------- GitHub user forsthofer opened a pull request: https://github.com/apache/camel/pull/2203 CAMEL-12181: XML Signature: '#' missing in ObjectReference attribute of XADES element DataObjectFormat You can merge this pull request into a Git repository by running: $ git pull https://github.com/forsthofer/camel CAMEL-12181 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/camel/pull/2203.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #2203 ---- commit e983854ebae91beabaf6b6c969bc76a53692d14d Author: Franz Forsthofer <franz.forsthofer@...> Date: 2018-01-31T06:56:23Z CAMEL-12181: XML Signature: '#' missing in ObjectReference attribute of XADES element DataObjectFormat ---- > XML Signature: '#' missing in ObjectReference attribute of XADES element > DataObjectFormat > ----------------------------------------------------------------------------------------- > > Key: CAMEL-12181 > URL: https://issues.apache.org/jira/browse/CAMEL-12181 > Project: Camel > Issue Type: Bug > Components: camel-xmlsecurity > Affects Versions: 2.18.5, 2.19.4, 2.20.1 > Reporter: Franz Forsthofer > Assignee: Franz Forsthofer > Priority: Major > Fix For: 2.19.5, 2.20.3, 2.21.0 > > > If you create an XML Signature with a XADES element DataObjectFormat then you > get currently an XML which is similar as shown in the following snippet: > <ds:Reference Id="_1a612e6b-0da6-4695-a8f7-d189a47a7e05" > URI="#_4dccda23-2c67-487b-b7f2-30188bb089f7"> > ... > </ds:Reference> > ... > {color:#000000}<etsi:DataObjectFormat > ObjectReference="_1a612e6b-0da6-4695-a8f7-d189a47a7e05">{color} > {color:#000000} …{color} > {color:#000000}</etsi:DataObjectFormat>{color} > > {color:#000000}The ObjectReference value > "_1a612e6b-0da6-4695-a8f7-d189a47a7e05" is not a valid URI. The character > '#' is missing at the beginning of the value{color} -- This message was sent by Atlassian JIRA (v7.6.3#76005)