Re: [xml] TextReader schema validator

On Fri, Mar 16, 2007 at 11:33:51AM +0100, Jovan Kostovski wrote:

I've created a XML schema validator
based on reader1.c example by
adding the xmlTextReaderSchemaValidate        function.

Everything works fine, but xmlTextReaderSchemaValidate        
as a result returns 0 if the schema can be activated.

How can I return a message like the one in xmllinit.c.
Something like "test.xml validates"?

  I don't understand what you're asking for. If that's
the status of the validation, obviously you can't get it at 
the intial phase but only when parsing has finished, see:


Red Hat Virtualization group
Daniel Veillard      | virtualization library
veillard redhat com  | libxml GNOME XML XSLT toolkit | Rpmfind RPM search engine

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