[xmlsec] Question about loading external DTD

Aleksey Sanin aleksey at aleksey.com
Wed Feb 5 12:53:50 PST 2003


In your example "xmlns" is not an attribute but namespace declaration.
It's very difficult to tell what exactly is wrong with your dtd and file.
You might try to validate your file against the dtd using LibXML2
xmllint utility first. It might give you some more information on
what's wrong.

Aleksey


Meg Morgan wrote:

>Hello,
>
>I have upgraded to libxmlsec-0.0.12.win32 and all of the
>other new windows binaries.  I found the code in xmlsec.c
>which relates to the external dtd when using the command
>line utility.
>
>When I encrypt data, for example, I get something like
>this:
>
><EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#">
>.
>.
>.
></EncryptedData>
>
>When I decrypt, it complains that validation failed, and
>points to the end of that line (xmlend#).  I think I understand
>how to indicate the external dtd, but how do I get it to either
>ignore this attribute, or not put it there in the first place?
>
>I appreciate your help.
>meg
>
>  
>





More information about the xmlsec mailing list