[xmlsec] Character "&"
Aleksey Sanin
aleksey at aleksey.com
Thu Jan 27 15:32:13 PST 2011
BTW, it doesn't apply to cases when '&' is used as a part of entity
insertion (e.g. '&' or '<', etc.)
On 1/27/11 3:26 PM, Bernardo Hoehl wrote:
> Thank you Aleksey..
>
> On 27.01.2011, at 9:25 PM, Aleksey Sanin wrote:
>
>> "No" except the places described in XML specification.
>>
>> On 1/27/11 3:14 PM, Bernardo Hoehl wrote:
>>> Helo list,
>>>
>>>
>>> When I try to sign an XML file that contains the character "&" it
>>> results in error...
>>>
>>> The W3C Recommendation 26 November 2008
>>>
>>> Says:
>>>
>>> The ampersand character (&) and the left angle bracket (<) /MUST NOT/
>>> appear in their literal form, except when used as markup delimiters, or
>>> within a comment<http://www.w3.org/TR/REC-xml/#dt-comment>, a
>>> processing instruction<http://www.w3.org/TR/REC-xml/#dt-pi>, or a CDATA
>>> section<http://www.w3.org/TR/REC-xml/#dt-cdsection>.
>>>
>>> Could you please comment if I should allow my XML files to have "&"
>>> character at all?
>>>
>>> Thank you!
>>>
>>>
>>> Bernardo Höhl
>>> Rio de Janeiro
>>> Brazil
>>>
>>>
>>>
>>> _______________________________________________
>>> xmlsec mailing list
>>> xmlsec at aleksey.com
>>> http://www.aleksey.com/mailman/listinfo/xmlsec
>>
>
More information about the xmlsec
mailing list