[PATCH libX11] docbook: Don't use --nonet in XSLTPROC_FLAGS
Gaetan Nadon
memsize at videotron.ca
Thu Apr 28 17:39:02 PDT 2011
On Thu, 2011-04-28 at 17:25 -0700, Dan Nicholson wrote:
> On Thu, Apr 28, 2011 at 1:33 PM, Jeremy Huddleston <jeremyhu at apple.com> 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
> _______________________________________________
> xorg-devel at lists.x.org: X.Org development
> Archives: http://lists.x.org/archives/xorg-devel
> Info: http://lists.x.org/mailman/listinfo/xorg-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.x.org/archives/xorg-devel/attachments/20110428/ea186edb/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
URL: <http://lists.x.org/archives/xorg-devel/attachments/20110428/ea186edb/attachment.pgp>
More information about the xorg-devel
mailing list