Eric,

Sablotron supports only (large) subset of W3C specification currently.
Until it become conforming, one must still keep in mind its limitations
(see http://www.gingerall.cz/charlie-bin/get/webGA/act/sablot_man.act for
details).

Docbook is a complex stylesheet and use some of unsupported instructions.
The first one (reported by Sablotron) is the exclude-result-prefixes
attribute, the next one I have found is the xsl:use-attribute-sets
attribute, for example. Of course, a message should be issued instead of
the core dump.

I believe Sablotron will be able to process docbook soon. We are going to
use it as an important conformity test.

Regards,
Petr

Eric Jacoboni wrote:

> Hi,
>
> I'm using sabcmd (from Sablotron 0.43 on a FreeBSD 4.1 box) to process
> XML files using home made xls and, as far i understand XSL, it works.
>
> Yesterday, i've download docbook.xsl -v1.17) and its related files
> from nwalsh.com, and to test it i wrote a XML file using DocBook/XML
> 4.0. But when i issue the following command:
>
> % sabcmd docbook.xls test.xml
>
> i get a core dump :(
>
> (First i had to remove the exclude-result-prefixes from the
> xsl:stylesheet as sabcmd complains about it...).
>
> The problem does'nt come from test.xml as a simple "sabcmd
> docbook.xls" does the same thing.
>
> A "gdb -c sabcmd.core" pretends :
>
> Core was generated by `sabcmd'.
> Program terminated with signal 11, Segmentation fault.
> #0  0x2819abb2 in ?? ()
>
> --
> ---------------------------------------------------------
> Éric Jacoboni       Ť No sport, cigars! ť  (W. Churchill)
> ---------------------------------------------------------

--
Petr Cimprich
Ginger Alliance Ltd.
www.gingerall.com



Reply via email to