Re: [xml] XSD Validation succeeds with xmllint but fails with libxml2, how do I fix this?



On Thursday, June 09, 2011 12:37:58 PM Mastertree wrote:

> Anybody in here have an idea?

>

> Cheers and thanks in advance!


--- main.c.orig 2011-06-09 12:51:06.000000000 +0200

+++ main.c 2011-06-09 12:51:16.000000000 +0200

@@ -68,7 +68,7 @@

goto leave;

}

- validCtxt = xmlSchemaNewValidCtxt(NULL);

+ validCtxt = xmlSchemaNewValidCtxt(schema);

if (!validCtxt) {

fprintf(stderr, "Could not create XSD schema validation context.\n");



--

Rémi Gacogne

R&D Core Engineer

rgacogne denyall com


Deny All

63 ter, avenue Edouard Vaillant

92100 Boulogne Billancourt

France

www.denyall.com


Attachment: signature.asc
Description: This is a digitally signed message part.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]