On Thu, 2011-04-28 at 17:25 -0700, Dan Nicholson wrote: > On Thu, Apr 28, 2011 at 1:33 PM, Jeremy Huddleston <[email protected]> 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) \ > > http://docbook.sourceforge.net/release/xsl/current/xhtml/docbook.xsl > > $< > > > > %.fo.db: %.xml $(chapters) > > $(AM_V_GEN)$(XSLTPROC) $(XSLTPROC_FLAGS) \ > > http://docbook.sourceforge.net/release/xsl/current/fo/docbook.xsl $< > > 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="http://docbook.sourceforge.net/release/xsl/current" > rewritePrefix="file:///usr/share/sgml/docbook/xsl-stylesheets-1.75.2"/> > > 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. >
This is what I observed as well. The xsltproc flags were derived from the xsltproc command issued by xmlto which is just a wrapper srcipt. > -- > Dan > _______________________________________________ > [email protected]: X.Org development > Archives: http://lists.x.org/archives/xorg-devel > Info: http://lists.x.org/mailman/listinfo/xorg-devel
signature.asc
Description: This is a digitally signed message part
_______________________________________________ [email protected]: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel
