[XML-SIG] Schema validation

Thomas B. Passin tpassin at comcast.net
Thu Jan 8 22:16:32 EST 2004


Andrew Clover wrote:

> Matt Patterson <list-matt at reprocessed.org> wrote:
> 
> 
>>Is there a validating parser with Python wrappers that can use Schemas 
>>to validate, and does that parser allow arbitrary association of the 
>>schema with the document?
> 
> 
> (More awkward silence.)
> 
> IOW: not that I know of. There is XSV, which is written in Python -
> 
>   http://www.ltg.ed.ac.uk/~ht/xsv-status.html
> 
> But it's a validator application (built on top of the LTXML parser and
> PyLTXML bindings) rather than a parser in itself; it doesn't give you a
> DOM or SAX output, but there's nothing stopping you running it as a
> pre-parse step.

Or you could use Jython and run Xerxes.  Also, Pirxx wraps Xerxes-C for 
Python, and this ought to let you to XML Schema validation (though I do 
not know for sure) -

http://pirxx.sourceforge.net

Cheers,

Tom P






More information about the XML-SIG mailing list