Update DocBook validating schema to 5.1CR1

Update the RelaxNG schema used by tools/validate.py to 5.1CR1.

This schema is used to validate individual files. The new schema
should allow any entity to be at the root. This should eliminate
false negative xinclude-related validation errors.

Change-Id: I24cfe9bf75fd776eff11fcd1753ded0e7e8a39bd
This commit is contained in:
Lorin Hochstein 2013-08-28 15:19:59 -04:00
parent dc09e993f0
commit 188d149c82
1 changed files with 1 additions and 1 deletions

View File

@ -60,7 +60,7 @@ def check_output(*popenargs, **kwargs):
def get_schema():
"""Return the DocBook RELAX NG schema"""
url = "http://www.oasis-open.org/docbook/xml/5.0b5/rng/docbookxi.rng"
url = "http://docbook.org/xml/5.1CR1/rng/docbookxi.rng"
relaxng_doc = etree.parse(urllib2.urlopen(url))
return etree.RelaxNG(relaxng_doc)