The error is during xmlParseMemory:

Entity: line 2: validity error: Validation failed: no DTD found !
<EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#";>
                                                        ^

I have attached the encrypted data and the dtd.  I appreciate your
help.

meg

Aleksey Sanin wrote:
> 
> I am not sure I clear understand your question. At which point you get
> "validity errors"? During "xmlParseMemory" call? During "xmlParseDTD"?
> 
> It's very difficult to help you w/o having the file and DTD. I would suggest
> to print out the file from memory just before "xmlParseMemory" call
> and look at it. You might have mistakes in your dynamic document
> construction that results in these errors.
> 
> Aleksey

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Meg Morgan                           425/450-2754
[EMAIL PROTECTED]                   http://www.votehere.net

<?xml version="1.0"?>
<EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#";>
<EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#tripledes-cbc"/>
<KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#";>
<KeyName>DES3 Key</KeyName>
<EncryptedKey xmlns="http://www.w3.org/2001/04/xmlenc#";>
<EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#rsa-oaep-mgf1p"/>
<KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#";>
<KeyName>RSA Public Key</KeyName>
</KeyInfo>
<CipherData>
<CipherValue>
Y0MGGGMUOFTBkHi2gcvzVZW+NA7366Fbe86FgY2zUaVSzO6Lr4YmBsIpJWgx9uOe
VhHkQ3PjaftMEppzQ6rdUkoErq2TtqVk4vJ+bl7gyVd3gzNXKVJwd2xPxP/1jlJa
I1TsH4PHH+f8F0h2ixQpAmbIGQfyUobhjLxtzI4NxIM=
</CipherValue>
</CipherData>
</EncryptedKey>
</KeyInfo>
<CipherData>
<CipherValue>
VKIqf1eoPwvqG5teYcuGH8kU+WfgFxxX6WvZdi0gm92ckNcxA85DH9dRx78JVV2A
Wv97+FCXeGuHaSaf54EJiMcwj4+/9RksxJImB8vWPzO8XtlNvtSI+oFVl/HMsaf9
Zgd0wAzVxUQF34XsCXpaJbODcPKjJlCjdPZmxeqbx9U=
</CipherValue>
</CipherData>
</EncryptedData>

Attachment: brunch.dtd
Description: application/unknown-content-type-dtd_auto_file

Reply via email to