XML validation in stdlib?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • =?UTF-8?Q?Filip_Gruszczy=C5=84ski?=

    XML validation in stdlib?

    Hi!

    I took a look at the standard library and tried to find some
    validation against schema tools, but found none. I googled, but found
    only links to external libraries, that can do some validation. Does it
    mean, that there is no validation in stdlib or have I just missed
    something?

    --
    Filip Gruszczyński
  • Stefan Behnel

    #2
    Re: XML validation in stdlib?

    Filip Gruszczyński wrote:
    I took a look at the standard library and tried to find some
    validation against schema tools, but found none. I googled, but found
    only links to external libraries, that can do some validation. Does it
    mean, that there is no validation in stdlib or have I just missed
    something?
    No, there is no XML validation tool available in the standard library. If you
    require depending on the stdlib only, you can write your code with ElementTree
    and replace it with lxml when you want to use validation (DTD/XML
    Schema/RelaxNG/Schematron).



    Stefan

    Comment

    Working...