This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Stylesheets 1.5.2: possible bug


Possible bug...

<mediaobject> not processed by Saxon or Xalan ( both most
current versions )

Error message from Saxon:
Error at xsl:value-of on line 198 of file
D:/docbook-stylesheets/html/graphics.xsl:
There is no Java method that is a unique best match
Transformation failed: Run-time errors were reported

No error message from Xalan

code that was validated:
<mediaobject>
  <imageobject>
     <imagedata fileref="../images/overview.gif" 
                width="494" 
                depth="495" 
                srccredit="XML Overview Diagram"/>
  </imageobject>
 <caption>
   <literallayout>
     Overview of XML Application
   </literallayout>
 </caption>
</mediaobject>

Context ( xml file validates against s DocBook XML V4.1.2
):
<book>
 <chapter>
  <sect1>
   <title>
   <sect2>
    <title>
    <itemizedlist>
    ....
   </sect2>
   <sect2>
    <title>
    <itemizedlist>
    ...
    </itemizedlist>
    <mediaobject>
    ...
    </mediaobject>
...  

When <mediaobject> is removed, processing with docbook
stylesheets proceeds properly.

Mark


__________________________________________________
Do You Yahoo!?
Sign up for SBC Yahoo! Dial - First Month Free
http://sbc.yahoo.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]