2

I am looking to validate XML files against XSD while only using the standard Python libraries. Any help would be appreciated.

Masonator
  • 121
  • 1
  • 6
  • 2
    The Python standard library has no tools for XSD validation that I know of. I used the PyXB library for that in the past, but is has been abandoned by its original developer. Also the real world has taught me, that nobody really sticks to XSD-defined standards anyway, so the use of such a library is questionable at best. – Richard Neumann Jul 20 '22 at 10:58
  • 1
    It's not possible with just the standard library. Old similar question: https://stackoverflow.com/q/299588/407651 – mzjn Jul 20 '22 at 11:11
  • Thanks. I hadn't seen anything but wanted to double check – Masonator Jul 20 '22 at 11:49
  • Check it out here: https://www.saxonica.com/download/download_page.xml – Yitzhak Khabinsky Jul 20 '22 at 12:39

0 Answers0