[Fwd: [xmlsec] Question about loading external DTD]
Meg Morgan
meg@votehere.net
Thu, 06 Feb 2003 22:54:10 +0000
This is a multi-part message in MIME format.
--------------0AF004319C5B067F0434AAB8
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Oops, forgot the list again ...
--------------0AF004319C5B067F0434AAB8
Content-Type: message/rfc822
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
X-Mozilla-Status2: 00000000
Message-ID: <3E42E61E.BD3C362@votehere.net>
Date: Thu, 06 Feb 2003 22:47:58 +0000
From: Meg Morgan <meg@votehere.net>
X-Mailer: Mozilla 4.75 [en] (Windows NT 5.0; U)
X-Accept-Language: en
MIME-Version: 1.0
To: Aleksey Sanin <aleksey@aleksey.com>
Subject: Re: [xmlsec] Question about loading external DTD
References: <3E417307.F45F85D3@votehere.net> <3E4179DE.3070008@aleksey.com> <3E42D250.8A474C87@votehere.net> <3E42D479.4040502@aleksey.com> <3E42DF54.9836F977@votehere.net> <3E42DE24.7060305@aleksey.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
That was the magic key I needed - setting xmlDoValidityCheckingDefaultValue
to 0 worked. Although I'm not sure where it had been set to 1 - I'll try to
track that down. I see it initialized to 0 in the xml code. Hmmm.
Thank you!
On another note, I still get that error from xmlSecAddIDs assertion doc != NULL
when I encrypt - that can be ignored, yes?
Thanks again!
meg
Aleksey Sanin wrote:
>
> The document is validated during parsing only if you ask libxml to do so
> by setting parsing context "validate" member to 1 or by setting global
> variable "xmlDoValidityCheckingDefaultValue" to 1.
> Can you check the value of this variable before the call to xmlParseMemory?
> I would also suggest to step in the xmlParseMemory in the debugger and
> find out how the parsing context initialized.
>
> Aleksey
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Meg Morgan 425/450-2754
meg@votehere.net http://www.votehere.net
--------------0AF004319C5B067F0434AAB8--