Re: validating XML

2012-06-14 Thread Dieter Maurer
andrea crotti writes: > ... > The reason is that it has to work on many platforms and without any c module > installed, the reason of that Searching for a pure Python solution, you might have a look at "PyXB". It has not been designed to validate XML instances against XML-Schema (but to map betw

Re: validating XML

2012-06-14 Thread andrea crotti
2012/6/13 Stefan Behnel > andrea crotti, 13.06.2012 12:06: > > Hello Python friends, I have to validate some xml files against some xsd > > schema files, but I can't use any cool library as libxml unfortunately. > > Any reason for that? Because the canonical answer to your question would be > lxm

Re: validating XML

2012-06-13 Thread Stefan Behnel
andrea crotti, 13.06.2012 12:06: > Hello Python friends, I have to validate some xml files against some xsd > schema files, but I can't use any cool library as libxml unfortunately. Any reason for that? Because the canonical answer to your question would be lxml, which uses libxml2. Stefan -- h

Re: validating XML

2012-06-13 Thread Dieter Maurer
andrea crotti writes: > Hello Python friends, I have to validate some xml files against some xsd > schema files, but I can't use any cool library as libxml unfortunately. Why? It seems not very rational to implement a complex task (such as XML-Schema validation) when there are ready solutions ar

Re: validating XML

2012-06-13 Thread andrea crotti
So as far as I understood what I should do is the following. Go through my own XML keeping track of the full path of everything for example and so on, then for every entry found in this iteration, check the schema to make sure that that particular construct is allowed on that level of the tree

Re: Validating XML in Windows

2007-07-08 Thread numeralblue
On Jul 8, 10:01 am, Omari Norman <[EMAIL PROTECTED]> wrote: > My app needs to validate XML. That's easy enough in Unix. What is the > best way to do it in Windows? > > The most obvious choice would of course be PyXML. However, apparently it > is no longer maintained: > > http://sourceforge.net/proj

Re: Validating XML in Windows

2007-07-08 Thread bsneddon
On Jul 8, 12:22 pm, Stefan Behnel <[EMAIL PROTECTED]> wrote: > Omari Norman wrote: > > My app needs to validate XML. That's easy enough in Unix. What is the > > best way to do it in Windows? > > > The most obvious choice would of course be PyXML. However, apparently it > > is no longer maintained:

Re: Validating XML in Windows

2007-07-08 Thread Stefan Behnel
Omari Norman wrote: > My app needs to validate XML. That's easy enough in Unix. What is the > best way to do it in Windows? > > The most obvious choice would of course be PyXML. However, apparently it > is no longer maintained: > > http://sourceforge.net/project/showfiles.php?group_id=6473 > > s

Re: Validating XML parsers

2005-09-20 Thread Dale Strickland-Clark
Robert Kern wrote: > Dale Strickland-Clark wrote: >> A few days ago there was a discussion about which XML parser to use with >> Python. >> However, the discussion didn't cover validating parsers, at least, not >> w3.org XML Schemas. >> >> I looked into all the parsers that came up in the discuss

Re: Validating XML parsers

2005-09-19 Thread Robert Kern
Dale Strickland-Clark wrote: > A few days ago there was a discussion about which XML parser to use with > Python. > However, the discussion didn't cover validating parsers, at least, not > w3.org XML Schemas. > > I looked into all the parsers that came up in the discussion but found no > mention o