pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/44126: textproc/xmlto: bad XSLTPARAMS access



>Number:         44126
>Category:       pkg
>Synopsis:       textproc/xmlto: bad XSLTPARAMS access
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Nov 21 11:50:00 +0000 2010
>Originator:     Goetz Isenmann
>Release:        dragonfly-2.9
>Organization:
>Environment:
>Description:
The xmlto script contains two lines XSLTPARAMS="XSLTPARAMS ..." in the
case branch that handles the --stringparam option. Those lines should
read XSLTPARAMS="$XSLTPARAMS ...". This is already fix upstream in
xmlto-0.0.23.

>How-To-Repeat:
E.g: compiling net/rabbitmq fails with an error message:

xmlto --version | grep -E '^xmlto version 0\.0\.([0-9]|1[1-8])$' >/dev/null || 
opt='--stringparam man.indent.verbatims=0' ; \
    xsltproc docs/examples-to-end.xsl docs/rabbitmq-multi.1.xml > 
docs/rabbitmq-multi.1.xml.tmp && \
    xmlto -o docs $opt man docs/rabbitmq-multi.1.xml.tmp && \
    gzip -f docs/`basename docs/rabbitmq-multi.1.xml .xml`
warning: failed to load external entity "XSLTPARAMS"
cannot parse XSLTPARAMS
Variable $SGML_CATALOG_FILES not set
warning: failed to load external entity "XSLTPARAMS"
cannot parse XSLTPARAMS

>Fix:



Home | Main Index | Thread Index | Old Index