[XML-SIG] Yet more fun :) , 4xslt reports errors in docbook-xsl-1.59.1

Mike C. Fletcher mcfletch@rogers.com
Thu, 16 Jan 2003 20:07:53 -0500


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 
generating:

C:\bin\lang\py22\lib\site-packages\Ft\Share\Bin\4xslt.exe 
--define=<base_dir=build\doc\html> 
S:\pyopenglbuild\PyOpenGL2\build\doc\manual.xml 
S:\pyopenglbuild\PyOpenGL2\doc\docbook-xsl\html\chunk.xsl
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 
file:/S|/pyopenglbuild/PyOpenGL2/doc/docbook-xsl/html/chunk-common.xsl, 
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).

Any ideas on what I'm doing wrong?

Sorry for yet another dumb question,
Mike

_______________________________________
  Mike C. Fletcher
  Designer, VR Plumber, Coder
  http://members.rogers.com/mcfletch/