delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/01/23/21:28:50

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <20040124022819.81080.qmail@web60210.mail.yahoo.com>
Date: Fri, 23 Jan 2004 18:28:19 -0800 (PST)
From: Elvin Peterson <elvin_peterson AT yahoo DOT com>
Subject: Re: xmlto errors
To: Cygwin List <cygwin AT cygwin DOT com>
In-Reply-To: <6.0.1.1.0.20040123153505.03a17b38@127.0.0.1>
MIME-Version: 1.0
X-IsSubscribed: yes

--- Larry Hall <cygwin-lh AT cygwin DOT 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019