docbook-apps

  • 1.  xsl stylesheet error

    Posted 09-27-2006 18:15
    I get this:

    XML_CATALOG_FILES="catalog.xml " xsltproc --timing --stringparam target.database.document "olink-pile.xml" --stringparam current.docid "man" -o clisp.1 man.xsl clisp.xml
    Parsing stylesheet man.xsl took 0 ms
    warning: failed to load external entity "http://docbook.xml-doc.org/snapshots/xsl/manpages/html-synop.xsl"
    compilation error: file http://docbook.xml-doc.org/snapshots/xsl/manpages/docbook.xsl line 12 element import
    xsl:import : unable to load http://docbook.xml-doc.org/snapshots/xsl/manpages/html-synop.xsl

    man.xsl is http://clisp.cvs.sourceforge.net/*checkout*/clisp/clisp/doc/man.xsl
    clisp.xml is http://clisp.cvs.sourceforge.net/*checkout*/clisp/clisp/doc/clisp.xml
    catalog.xml is generated by the Makefile
    http://clisp.cvs.sourceforge.net/*checkout*/clisp/clisp/doc/Makefile
    as



    <catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog">
    <rewriteURI uriStartString="http://docbook.sourceforge.net/release/xsl/current/" rewritePrefix="http://docbook.sourceforge.net/release/xsl/snapshot/"/>
    <rewriteSystem systemIdStartString="http://docbook.sourceforge.net/release/xsl/current/" rewritePrefix="http://docbook.sourceforge.net/release/xsl/snapshot/"/>
    </catalog>

    what am I doing wrong?
    thanks!

    --
    Sam Steingold (http://www.podval.org/~sds) on Fedora Core release 5 (Bordeaux)
    http://pmw.org.il http://israelnorthblog.livejournal.com
    http://iris.org.il http://jihadwatch.org http://thereligionofpeace.com
    Programming is like sex: one mistake and you have to support it for a lifetime.




  • 2.  Re: [docbook-apps] xsl stylesheet error

    Posted 09-27-2006 18:22
    I believe the XML_CATALOG_FILES requires a full path in url form.

    On 9/27/06, Sam Steingold <sds@podval.org> wrote:
    > I get this:
    >
    > XML_CATALOG_FILES="catalog.xml " xsltproc --timing --stringparam target.database.document "olink-pile.xml" --stringparam current.docid "man" -o clisp.1 man.xsl clisp.xml
    > Parsing stylesheet man.xsl took 0 ms
    > warning: failed to load external entity "http://docbook.xml-doc.org/snapshots/xsl/manpages/html-synop.xsl"
    > compilation error: file http://docbook.xml-doc.org/snapshots/xsl/manpages/docbook.xsl line 12 element import
    > xsl:import : unable to load http://docbook.xml-doc.org/snapshots/xsl/manpages/html-synop.xsl
    >
    > man.xsl is http://clisp.cvs.sourceforge.net/*checkout*/clisp/clisp/doc/man.xsl
    > clisp.xml is http://clisp.cvs.sourceforge.net/*checkout*/clisp/clisp/doc/clisp.xml
    > catalog.xml is generated by the Makefile
    > http://clisp.cvs.sourceforge.net/*checkout*/clisp/clisp/doc/Makefile
    > as
    >
    >
    >
    > <catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog">
    > <rewriteURI uriStartString="http://docbook.sourceforge.net/release/xsl/current/" rewritePrefix="http://docbook.sourceforge.net/release/xsl/snapshot/"/>
    > <rewriteSystem systemIdStartString="http://docbook.sourceforge.net/release/xsl/current/" rewritePrefix="http://docbook.sourceforge.net/release/xsl/snapshot/"/>
    > </catalog>
    >
    > what am I doing wrong?
    > thanks!
    >
    > --
    > Sam Steingold (http://www.podval.org/~sds) on Fedora Core release 5 (Bordeaux)
    > http://pmw.org.il http://israelnorthblog.livejournal.com
    > http://iris.org.il http://jihadwatch.org http://thereligionofpeace.com
    > Programming is like sex: one mistake and you have to support it for a lifetime.
    >
    >
    > ---------------------------------------------------------------------
    > To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
    > For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org
    >
    >


    --
    http://chris.chiasson.name/