[xml] schema validation



Greetings - I'm very new to the library so please be patient :)

I seem to have hit a wall with schema validation:

xmlDocPtr doc;
xmlSchemaValidCtxtPtr xsd;

doc = xmlParseFile ( argv[1] );
ret = xmlSchemaValidateDoc ( xsd, doc );

I get back a 20 from xmlSchemaValidateDoc regardless if the xml is valid or not

Is this feature available or has it been depreciated?


All new Yahoo! Mail -
Get a sneak peak at messages with a handy reading pane.

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