<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/3.26.0">
</HEAD>
<BODY>
On Thu, 2011-04-28 at 17:25 -0700, Dan Nicholson wrote:
<BLOCKQUOTE TYPE=CITE>
<PRE>
On Thu, Apr 28, 2011 at 1:33 PM, Jeremy Huddleston <<A HREF="mailto:jeremyhu@apple.com">jeremyhu@apple.com</A>> wrote:
>
> We are explicitly pulling in resources from the net, so this would always fail.
>
> %.html.db: %.xml $(chapters)
> $(AM_V_GEN)$(XSLTPROC) $(XSLTPROC_FLAGS) \
> <A HREF="http://docbook.sourceforge.net/release/xsl/current/xhtml/docbook.xsl">http://docbook.sourceforge.net/release/xsl/current/xhtml/docbook.xsl</A> $<
>
> %.fo.db: %.xml $(chapters)
> $(AM_V_GEN)$(XSLTPROC) $(XSLTPROC_FLAGS) \
> <A HREF="http://docbook.sourceforge.net/release/xsl/current/fo/docbook.xsl">http://docbook.sourceforge.net/release/xsl/current/fo/docbook.xsl</A> $<
This isn't true. If your xml catalog is setup correctly, the url will
be converted to a local file. In /etc/xml/catalog on my F13 box:
<rewriteURI uriStartString="<A HREF="http://docbook.sourceforge.net/release/xsl/current">http://docbook.sourceforge.net/release/xsl/current</A>"
rewritePrefix="<A HREF="file:///usr/share/sgml/docbook/xsl-stylesheets-1.75.2/>">file:///usr/share/sgml/docbook/xsl-stylesheets-1.75.2"/</A>>
This is no different than having an http:// URI at the top of an xml
document. Others may feel differently, but I think it's much preferred
to not start pulling bits off the network during a build. If you run
xmlto (rather than xsltproc directly), it will always pass --nonet to
xsltproc.
</PRE>
</BLOCKQUOTE>
This is what I observed as well. The xsltproc flags were derived from the xsltproc command<BR>
issued by xmlto which is just a wrapper srcipt.<BR>
<BR>
<BR>
<BLOCKQUOTE TYPE=CITE>
<PRE>
--
Dan
_______________________________________________
<A HREF="mailto:xorg-devel@lists.x.org">xorg-devel@lists.x.org</A>: X.Org development
Archives: <A HREF="http://lists.x.org/archives/xorg-devel">http://lists.x.org/archives/xorg-devel</A>
Info: <A HREF="http://lists.x.org/mailman/listinfo/xorg-devel">http://lists.x.org/mailman/listinfo/xorg-devel</A>
</PRE>
</BLOCKQUOTE>
</BODY>
</HTML>