Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Nov 2013 18:12:27 +0000 (UTC)
From:      Hiroki Sato <hrs@FreeBSD.org>
To:        doc-committers@freebsd.org, svn-doc-all@freebsd.org, svn-doc-head@freebsd.org
Subject:   svn commit: r43168 - in head/share: mk xsl
Message-ID:  <201311111812.rABICRYH061420@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: hrs
Date: Mon Nov 11 18:12:26 2013
New Revision: 43168
URL: http://svnweb.freebsd.org/changeset/doc/43168

Log:
  Use XML catalog resolution wherever possible instead of absolute pathnames
  for external entities.

Modified:
  head/share/mk/doc.docbook.mk
  head/share/xsl/freebsd-epub.xsl
  head/share/xsl/freebsd-fo.xsl
  head/share/xsl/freebsd-xhtml-chunk.xsl
  head/share/xsl/freebsd-xhtml.xsl

Modified: head/share/mk/doc.docbook.mk
==============================================================================
--- head/share/mk/doc.docbook.mk	Mon Nov 11 17:57:51 2013	(r43167)
+++ head/share/mk/doc.docbook.mk	Mon Nov 11 18:12:26 2013	(r43168)
@@ -53,12 +53,12 @@ MASTERDOC?=	${.CURDIR}/${DOC}.xml
 
 DB5RNC?=	${DOC_PREFIX}/share/xml/freebsd50.rnc
 
-XSLPROF?=	/usr/local/share/xsl/docbook-ns/profiling/profile.xsl
-XSLXHTML?=	${DOC_PREFIX}/${LANGCODE}/share/xsl/freebsd-xhtml.xsl
-XSLXHTMLCHUNK?=	${DOC_PREFIX}/${LANGCODE}/share/xsl/freebsd-xhtml-chunk.xsl
-XSLEPUB?=	${DOC_PREFIX}/${LANGCODE}/share/xsl/freebsd-epub.xsl
-XSLFO?=		${DOC_PREFIX}/${LANGCODE}/share/xsl/freebsd-fo.xsl
-XSLPGP?=	${DOC_PREFIX}/share/xsl/freebsd-pgpkeyring.xsl
+XSLPROF?=	http://docbook.sourceforge.net/release/xsl-ns/current/profiling/profile.xsl
+XSLXHTML?=	http://www.FreeBSD.org/XML/www/lang/share/xsl/freebsd-xhtml.xsl
+XSLXHTMLCHUNK?=	http://www.FreeBSD.org/XML/www/lang/share/xsl/freebsd-xhtml-chunk.xsl
+XSLEPUB?=	http://www.FreeBSD.org/XML/www/lang/share/xsl/freebsd-epub.xsl
+XSLFO?=		http://www.FreeBSD.org/XML/www/lang/share/xsl/freebsd-fo.xsl
+XSLPGP?=	http://www.FreeBSD.org/XML/www/share/xsl/freebsd-pgpkeyring.xsl
 
 XSLSCH?=	/usr/local/share/xsl/iso-schematron/xslt1/iso_schematron_skeleton_for_xslt1.xsl
 

Modified: head/share/xsl/freebsd-epub.xsl
==============================================================================
--- head/share/xsl/freebsd-epub.xsl	Mon Nov 11 17:57:51 2013	(r43167)
+++ head/share/xsl/freebsd-epub.xsl	Mon Nov 11 18:12:26 2013	(r43168)
@@ -10,7 +10,7 @@
                 version='1.0'>
 
   <!-- Pull in the base stylesheets -->
-  <xsl:import href="/usr/local/share/xsl/docbook-ns/epub3/chunk.xsl"/>
+  <xsl:import href="http://docbook.sourceforge.net/release/xsl-ns/current/epub3/chunk.xsl"/>;
 
   <!-- Pull in common XHTML customizations -->
   <xsl:import href="freebsd-xhtml-common.xsl"/>

Modified: head/share/xsl/freebsd-fo.xsl
==============================================================================
--- head/share/xsl/freebsd-fo.xsl	Mon Nov 11 17:57:51 2013	(r43167)
+++ head/share/xsl/freebsd-fo.xsl	Mon Nov 11 18:12:26 2013	(r43168)
@@ -9,7 +9,7 @@
                 version="1.0">
 
   <!-- Pull in the base stylesheets -->
-  <xsl:import href="/usr/local/share/xsl/docbook-ns/fo/docbook.xsl"/>
+  <xsl:import href="http://docbook.sourceforge.net/release/xsl-ns/current/fo/docbook.xsl"/>;
 
   <!-- Include the common customizations -->
   <xsl:import href="freebsd-common.xsl"/>

Modified: head/share/xsl/freebsd-xhtml-chunk.xsl
==============================================================================
--- head/share/xsl/freebsd-xhtml-chunk.xsl	Mon Nov 11 17:57:51 2013	(r43167)
+++ head/share/xsl/freebsd-xhtml-chunk.xsl	Mon Nov 11 18:12:26 2013	(r43168)
@@ -9,7 +9,7 @@
                 exclude-result-prefixes="db">
 
   <!-- Pull in the base stylesheets -->
-  <xsl:import href="/usr/local/share/xsl/docbook-ns/xhtml/chunk.xsl"/>
+  <xsl:import href="http://docbook.sourceforge.net/release/xsl-ns/current/xhtml/chunk.xsl"/>;
 
   <!-- Pull in common XHTML customizations -->
   <xsl:include href="freebsd-xhtml-common.xsl"/>

Modified: head/share/xsl/freebsd-xhtml.xsl
==============================================================================
--- head/share/xsl/freebsd-xhtml.xsl	Mon Nov 11 17:57:51 2013	(r43167)
+++ head/share/xsl/freebsd-xhtml.xsl	Mon Nov 11 18:12:26 2013	(r43168)
@@ -6,7 +6,7 @@
                 version='1.0'>
 
   <!-- Pull in the base stylesheets -->
-  <xsl:import href="/usr/local/share/xsl/docbook-ns/xhtml/docbook.xsl"/>
+  <xsl:import href="http://docbook.sourceforge.net/release/xsl-ns/current/xhtml/docbook.xsl"/>;
 
   <!-- Pull in common XHTML customizations -->
   <xsl:include href="freebsd-xhtml-common.xsl"/>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201311111812.rABICRYH061420>