XML Schema

A. Keyton Weissinger keyton at weissinger.org
Mon Nov 12 22:18:58 EST 2001


Jesper,

I too was looking for this. Check out this link for some clues:

http://www.xmlhack.com/read.php?item=1392

I am also beginning to look at Python and XML Schema validating. Will post
if/when I find something that will meet my needs.

Hope this helps.

Keyton

-----Original Message-----
From: python-list-admin at python.org
[mailto:python-list-admin at python.org]On Behalf Of Bill Tate
Sent: Monday, November 12, 2001 8:24 PM
To: python-list at python.org
Subject: Re: XML Schema


Jesper Holmberg <jesper at strindberg.maisel.enst-bretagne.fr> wrote in message
news:<87vggivo5r.fsf at strindberg.maisel.enst-bretagne.fr>...
> Hi All,
>
> I'm trying to get some overview of xml tools in Python, but I'm a little
> overwhelmed by the large number of sometimes half-finished, often poorly
> documented, libraries and toolkits. I guess this in part is due to XML
being a
> relatively new technology.
>
> However, I'm more specifically looking for Python implementations of
> XML Schema-validating parser. Does anyone here know of any tool-kit/parser
that
> supports XML Schema?
>
> TIA
>
> Jesper

Jesper, I think you will find most support for validation is limited
to DTD's - AFAIK, Sean McGrath's book XML processing with Python,
provides one utility in particular, XMLV, that will validate an XML
document against a DTD but NOT a xml schema.  If the parser cannot
locate the DTD, it reverts to a non-validating version (essentially
the equivalent of his XMLN tool - a non-validating parser).  Sean's
book does not address validating documents against XML schemas at all
- pretty understandable given the state of the schema standard at the
time it was published.  Sean's book does have a number of very useful
tips nevertheless.

I presume you've checked out Fourthought's FourSuite product.  While
it does have tools for XSLT, XPATH, RDF, SAX and DOM -  I'm pretty
sure it also doesn't provide tools to validate documents against a
schema - but I would definitely check that site out first to be
certain.

You might also want to check out sourceforge - I seem to recall a
recent post about a couple projects to build wrappers to make Apache's
xerces and xalan tools available to python - I can't speak to that
effort or whether it addresses your specific question.
--
http://mail.python.org/mailman/listinfo/python-list






More information about the Python-list mailing list