Re: online XML Schema validation service, python bindings

A couple of ideas to think about:

(a) To allow schema validation to be invoked over HTTP, it would be a good idea to define a standard XML vocabulary for the validation report. I wouldn't expect two validators to produce exactly the same errors, but the information in the errors (e.g. line number, constraint reference, etc) could be delivered in the same way.

(b) Also, I expect that in many cases you would want to validate many input documents against the same schema. That means the online service should have some kind of persistent store of registered schemas that can be invoked by name, rather than uploading the schema on each request.

Michael Kay
Saxonica

> On 24 May 2020, at 11:21, Mukul Gandhi <gandhi.mukul@gmail.com> wrote:
> 
> Hi all,
>     Sometime ago, I had informed this list that I've hosted an 'online XML Schema validation service' here: http://www.softwarebytes.org/xmlvalidation/ <http://www.softwarebytes.org/xmlvalidation/>. That's available and works as before.
> 
> I could get some time, to develop python examples that call the above mentioned 'online XML Schema validation service'. This effectively means that, we can do XML Schema 1.0 and 1.1 validations from python programs (the XML Schema validations would be performed by Xerces-J at backend) by making remote invocations to the above mentioned 'online XML Schema validation service'. The above mentioned link, now has details about this work, and the python programs that I've talked about in this mail are available for download from the above link.
> 
> I imagine that, this work could be extended to for e.g C# and couple of other programming languages as well. This could be done fairly easily, by looking at the python programs that I've talked about in this mail.
> 
> 
> 
> -- 
> Regards,
> Mukul Gandhi

Received on Sunday, 24 May 2020 11:01:53 UTC