Commits

Anonymous committed 14b22f3

Convert to the local RELAXNG to speed up jing.

  • Participants
  • Parent commits ffb62aa

Comments (0)

Files changed (3)

 	$(DOCMAKE) --stringparam "docmake.output.format=xhtml" -x $(XHTML_ONE_CHUNK_XSLT_SS) -o $(patsubst $(DOCBOOK4_ALL_IN_ONE_XHTML_DIR)/%/all-in-one.html,$(DOCBOOK4_ALL_IN_ONE_XHTML_DIR)/%,$@) xhtml $<
 	mv $(patsubst %/all-in-one.html,%/index.html,$@) $@
 
+# DOCBOOK5_RELAXNG = http://www.docbook.org/xml/5.0/rng/docbook.rng
+DOCBOOK5_RELAXNG = rng/docbook.rng
 
 $(DOCBOOK5_ALL_IN_ONE_XHTMLS): $(DOCBOOK5_ALL_IN_ONE_XHTML_DIR)/%/all-in-one.xhtml: $(DOCBOOK5_SOURCES_DIR)/%.xml
-	jing http://www.docbook.org/xml/5.0/rng/docbook.rng $<
+	jing $(DOCBOOK5_RELAXNG) $<
 	xsltproc --stringparam root.filename $@.temp.xml --path  $(DOCBOOK5_XSL_STYLESHEETS_XHTML_PATH) $(DOCBOOK5_XSL_ONECHUNK_XSLT_STYLESHEET) $<
 	xsltproc --output $@ ./bin/clean-up-docbook-xhtml-1.1.xslt $@.temp.xml.html
 	rm -f $@.temp.xml.html
+<?xml version="1.0"?>
+<!DOCTYPE catalog PUBLIC "-//OASIS//DTD Entity Resolution XML Catalog V1.0//EN" "http://www.oasis-open.org/committees/entity/release/1.0/catalog.dtd">
+<catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog">
+  <delegatePublic publicIdStartString="-//OASIS//ENTITIES DocBook XML" catalog="file:///usr/share/sgml/xml-iso-entities-8879.1986/catalog"/>
+  <delegatePublic publicIdStartString="ISO 8879:1986" catalog="file:///usr/share/sgml/xml-iso-entities-8879.1986/catalog"/>
+  <delegatePublic publicIdStartString="-//OASIS//DTD DocBook XML" catalog="file:///usr/share/sgml/docbook/xmlcatalog"/>
+  <delegateSystem systemIdStartString="http://www.oasis-open.org/docbook/" catalog="file:///usr/share/sgml/docbook/xmlcatalog"/>
+  <delegateURI uriStartString="http://www.oasis-open.org/docbook/" catalog="file:///usr/share/sgml/docbook/xmlcatalog"/>
+  <rewriteSystem systemIdStartString="http://docbook.sourceforge.net/release/xsl/1.75.2" rewritePrefix="file:///usr/share/sgml/docbook/xsl-stylesheets-1.75.2"/>
+  <rewriteURI uriStartString="http://docbook.sourceforge.net/release/xsl/1.75.2" rewritePrefix="file:///usr/share/sgml/docbook/xsl-stylesheets-1.75.2"/>
+  <rewriteSystem systemIdStartString="http://docbook.sourceforge.net/release/xsl/current" rewritePrefix="file:///usr/share/sgml/docbook/xsl-stylesheets-1.75.2"/>
+  <rewriteURI uriStartString="http://docbook.sourceforge.net/release/xsl/current" rewritePrefix="file:///usr/share/sgml/docbook/xsl-stylesheets-1.75.2"/>
+  <uri name="http://www.docbook.org/xml/5.0/rng/docbook.rng" uri="docbook.rng"/>
+</catalog>