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 _______________________________________________ xmlsec mailing list [EMAIL PROTECTED] http://www.aleksey.com/mailman/listinfo/xmlsec