Franz Forsthofer created CAMEL-12181:
----------------------------------------
Summary: 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.20.1, 2.19.4, 2.18.5
Reporter: Franz Forsthofer
Assignee: Franz Forsthofer
Fix For: 2.19.5, 2.20.2, 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)