Re: Attribute normalization !!

2008-10-16 Thread Ling Xiaohan
I see, XMLdsig may handle the case correctly, because attribute not declared is regarded as CDATA. Example below contains attribute not declared. - Original Message - From: Jesse Pelton To: security-dev@xml.apache.org Sent: Thursday, October 16, 2008 9:54 PM Subject: RE: Attribu

Re: problem enveloping a soap body

2008-10-16 Thread Sean Mullan
I finally found some time to look at this and fixed your program. The problem is that you are also trying to insert the document inside a ds:Object element, which is for enveloping signatures, not enveloped signatures. If you remove the following lines from your program: XMLStructure content =

DO NOT REPLY [Bug 45961] verify with own canonicalization method

2008-10-16 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=45961 [EMAIL PROTECTED] changed: What|Removed |Added Status|REOPENED|RESOLVED Resolution|

RE: Attribute normalization !!

2008-10-16 Thread Jesse Pelton
According to section 3.3.1 , "XML attribute types are of three kinds: a string type, a set of tokenized types, and enumerated types," and string types are CDATA. In addition, section 3.3.3 says, "All attributes for which no declara