The docbookxi.rng schema moved to oasis-open.org.
Change-Id: I706c4989c9619c7dfc3a4a00df4e2ec92ddd950f
This commit is contained in:
parent
973b38bdaf
commit
04d83798d3
@ -28,7 +28,7 @@ EXCEPTIONS = ['ha-guide-docinfo.xml']
|
|||||||
|
|
||||||
def get_schema():
|
def get_schema():
|
||||||
"""Return the DocBook RELAX NG schema"""
|
"""Return the DocBook RELAX NG schema"""
|
||||||
url = "http://www.docbook.org/xml/5.0/rng/docbookxi.rng"
|
url = "http://www.oasis-open.org/docbook/xml/5.0b5/rng/docbookxi.rng"
|
||||||
relaxng_doc = etree.parse(urllib2.urlopen(url))
|
relaxng_doc = etree.parse(urllib2.urlopen(url))
|
||||||
return etree.RelaxNG(relaxng_doc)
|
return etree.RelaxNG(relaxng_doc)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user