This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: xmlto errors


--- Larry Hall <cygwin-lh@cygwin.com> wrote:
> At 01:20 PM 1/23/2004, Elvin Peterson you wrote:
> 
> <snip>
> 
> 
> 
> >Test command:
> >
> >$ xmlto -o xml html-nochunks xmlto.xml
> >
> >The file xmlto.xml is the one distributed with
> xmlto
> >(uses docbook 4.2).
> 
> 
> OK, from what you've provided, I don't see anything
> wrong with the 
> installation and I cannot reproduce your problems
> (though I'm a 
> complete newbie with xmlto so I can't claim that
> means anything).
> Looking at the script, it appears to me that there
> is some 
> possibility that spaces in $PWD has the potential to
> foul up the 
> second usage of basename, accounting for the first
> complaint you
> mentioned. Perhaps you want to add 'set -x' to the
> start of the
> of 'xmlto' and see what it tells you.

For the basename problems, it seems that 

341,342c341,342
<   XSLT_PROCESSED="$XSLT_PROCESSED_DIR/$(basename
${INPUT_FILE%.*}).proc"
<
---
>   foo=`basename "${INPUT_FILE%.*}"`
>   XSLT_PROCESSED="$XSLT_PROCESSED_DIR/$foo.proc"

Thanks.

__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free web site building tool. Try it!
http://webhosting.yahoo.com/ps/sb/

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]