I know this has been mentioned before - trying to get the docbook
stylesheets to work with Sablotron. I don't have too much luck. The
first problem is this:

Error [code:196] [URI:file:/home/neotron/foo/docbook/html/docbook.xsl] [line:2] 
[node:element '<xsl:stylesheet>']
  unexpected attribute 'exclude-result-prefixes'

So I remove this attribute. Then I get:

Error [code:209] [URI:file:/home/neotron/foo/docbook/html/docbook.xsl] [line:33] 
[node:attribute 'test']
  ')' expected

The code triggering this error is in a file included on line 33 in
docbook.xsl. Here is where the request for better debug info (or some
kind of trace feature) comes in. Basically I know that the error is in
the file table.xsl but I have no idea on which line. I figured out
that this line was the source of the problem:

      <xsl:when test="processing-instruction('dbhtml')">

Commenting out the entire xsl:when and there's another error in the
same file. This time it's much harder to find... Anyway, the error
message above is odd, isn't it? Why is there a ')' expected when it's
already there?

Anyway, this is mainly a request for better debugging facilities to
be able to debug included files.
-- 
[ Below is a random fortune, which is unrelated to the above message. ]
Boucher's Observation:
        He who blows his own horn always plays the music
        several octaves higher than originally written.

Reply via email to