[XML-SIG] Yet more fun :) , 4xslt reports errors in docbook-xsl-1.59.1
Thu, 16 Jan 2003 20:34:48 -0700 (MST)
Mike C. Fletcher wrote:
> Well, I've got the merged documentation automatically generated, and am
> starting into the docbook conversion. I'm starting out with the
> out-of-the-box docbook-xsl/html/chunk.xsl transformation to be sure the
> system is working before I see what alterations Tarn's made. However,
> when I run 4xslt with the manual and chunk.xsl, I'm told there's a
> syntax/parse error in the chunk-common.xsl file included by chunk.xsl.
> Since people have said they use the docbook-xsl packages with 4xslt, I
> must be mis-using it somehow, but I don't see how. Here's the 4xslt
> command-line I'm generating with distutils, and the error report it's
> Malformed expression: "($prev and $navig.showtitles != 0)
> or ($home != . or $nav.context = 'toc')
> or ($chunk.tocs.and.lots != 0
> and $nav.context != 'toc') or ($next
> and $navig.showtitles != 0)" in the element at
> line 707, column 2
> parse error at line 1, column 87: reached end-of-input, expecting ')'
> error: command
> 'C:\bin\lang\py22\lib\site-packages\Ft\Share\Bin\4xslt.exe' failed with
> exit status 1
> I don't see anything wrong with the code it's complaining about (all the
> ('s seem balanced), and position 87 is somewhere around the end of
> $home, nowhere near the end of the string AFAICS).
Yikes. This is clearly a bug in 4Suite's XPath parser
(specifically, it's not liking anything to follow ".").
Can't believe that one slipped through...
Let's move this over to to 4suite list.
xml-sig is not the appropriate forum.
Mike J. Brown | http://skew.org/~mike/resume/
Denver, CO, USA | http://skew.org/xml/