I've been fiddling around with docbook, and applying the
XalanTransformerCallback sample (unmodified this time) to a simple document
gives the following assertion:

Assertion failed: subQueryResults.getDocumentOrder(), file
\cvs\3rdparty\xml-xalan\c\src\XPath\XPath.cpp, line 3415.

It's in XPath::findNodeSet, and pretty deep in the transform call stack.
This is against the 1.5 release.

If you want to reproduce this, then the sample document is underneath, and
the stylesheets are docbook-xsl 1.61.3 from
http://sourceforge.net/projects/docbook.  I'm applying html/docbook.xsl.
(There is 1.2Mb of stuff in that so I haven't attached it).

Some pointers as to why this might happen might be nice, as I realise this
is nowhere near a minimal test case.

Thanks,

Mark


Sample document:
<?xml version="1.0" encoding="utf-8"?>

<book>
  <bookinfo>
    <title>An Example Book</title>

    <author>
      <firstname>Your first name</firstname>
      <surname>Your surname</surname>
      <affiliation>
        <address><email>[EMAIL PROTECTED]</email></address>
      </affiliation>
    </author>
    <copyright>
      <year>2000</year>
      <holder>Copyright string here</holder>
    </copyright>
    <abstract>
      <para>If your book has an abstract then it should go here.</para>
    </abstract>
  </bookinfo>
  <preface>
    <title>Preface</title>
    <para>Your book may have a preface, in which case it should be placed
      here.</para>
  </preface>

  <chapter>
    <title>My first chapter</title>
    <para>This is the first chapter in my book.</para>
    <sect1>
      <title>My first section</title>
      <para>This is the first section in my book.</para>
    </sect1>
  </chapter>
</book>

Reply via email to