<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en-us" xmlns="http://www.w3.org/2005/Atom"><title>Simon Willison's Weblog: relaxng</title><link href="http://simonwillison.net/" rel="alternate"/><link href="http://simonwillison.net/tags/relaxng.atom" rel="self"/><id>http://simonwillison.net/</id><updated>2009-12-23T14:44:06+00:00</updated><author><name>Simon Willison</name></author><entry><title>Orderly JSON</title><link href="https://simonwillison.net/2009/Dec/23/orderly/#atom-tag" rel="alternate"/><published>2009-12-23T14:44:06+00:00</published><updated>2009-12-23T14:44:06+00:00</updated><id>https://simonwillison.net/2009/Dec/23/orderly/#atom-tag</id><summary type="html">
    
&lt;p&gt;&lt;strong&gt;&lt;a href="http://orderly-json.org/"&gt;Orderly JSON&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;
Essentially the JSON equivalent of RelaxNG’s compact syntax—a pleasant mini-language for describing JSON objects which compiles to the more verbose JSONSchema format.


    &lt;p&gt;Tags: &lt;a href="https://simonwillison.net/tags/javascript"&gt;javascript&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/json"&gt;json&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/jsonschema"&gt;jsonschema&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/orderly"&gt;orderly&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/relaxng"&gt;relaxng&lt;/a&gt;&lt;/p&gt;



</summary><category term="javascript"/><category term="json"/><category term="jsonschema"/><category term="orderly"/><category term="relaxng"/></entry><entry><title>minixsv</title><link href="https://simonwillison.net/2009/Aug/12/minixsv/#atom-tag" rel="alternate"/><published>2009-08-12T16:59:57+00:00</published><updated>2009-08-12T16:59:57+00:00</updated><id>https://simonwillison.net/2009/Aug/12/minixsv/#atom-tag</id><summary type="html">
    
&lt;p&gt;&lt;strong&gt;&lt;a href="http://www.familieleuthe.de/DownloadMiniXsv.html"&gt;minixsv&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;
As far as I can tell, this is the only library that can validate XML using pure Python (no C extension required). I’d be extremely happy if someone would write a pure Python library (or one that only depends on ElementTree, which is included in the standard library) for validating XML against a Relax NG Compact syntax schema. Even DTD validation would be better than nothing!

    &lt;p&gt;&lt;small&gt;&lt;/small&gt;Via &lt;a href="http://stackoverflow.com/questions/1243449/validating-xml-in-python-without-non-python-dependencies"&gt;Stack Overflow&lt;/a&gt;&lt;/small&gt;&lt;/p&gt;


    &lt;p&gt;Tags: &lt;a href="https://simonwillison.net/tags/elementtree"&gt;elementtree&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/minixsv"&gt;minixsv&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/python"&gt;python&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/relaxng"&gt;relaxng&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/validation"&gt;validation&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/xml"&gt;xml&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/xmlschema"&gt;xmlschema&lt;/a&gt;&lt;/p&gt;



</summary><category term="elementtree"/><category term="minixsv"/><category term="python"/><category term="relaxng"/><category term="validation"/><category term="xml"/><category term="xmlschema"/></entry></feed>