Problem solved, thank you. I had one "colspec" too many on a table, thought the 
code appeared valid. 

 
Cordialement,

Vinciane Duperthuy



________________________________
 De : Hussein Shafie <[email protected]>
À : Vinciane Duperthuy <[email protected]> 
Cc : [email protected] 
Envoyé le : Mardi 17 Janvier 2012 15h44
Objet : Re: [ditac] Processing terminated by xsl:message at line 119 in 
table.xsl
 
On 01/17/2012 03:14 PM, Vinciane Duperthuy wrote:
> 
> I am looking for the origin of the problem inthis conversion. I have
> several bookmap designed exactly the same way but only this one doesn't
> work. I've searched "table.xsl" and I've contolled all topics containing
> a table to see where I could have invalid code, but I find nothing.
> 
> Have you ever seen this?

No.




> 
> cannot transform "X:\6-TECHNIQUE\67-Notice-Journal-Pièce\671-Notice
> d'instructions\C\CIB 1000 toutes versions.ditac" to
> "X:\6-TECHNIQUE\67-Notice-Journal-Pièce\671-Notice d'instructions\C\CIB
> 1000 toutes versions.fo" using
> file:/C:/Program%20Files/XMLmind_XSL_Utility/addon/config/dita/xsl/fo/fo.xsl:
> Processing terminated by xsl:message at line 119 in table.xsl
> java.lang.RuntimeException: Conversion "ditaToPDF" has failed with exit
> code 5.
> 

Line 119 of table.xsl corresponds to:

---
<xsl:if test="count($colspecs) gt $cols">
  <xsl:message
    terminate="yes">Too many "colspec" elements.</xsl:message>
</xsl:if>
---

In plain English, this means that your bookmap is OK but it references a topic 
which contains an erroneous table. This table has too many colspec elements. 
*Generally*, this means that, in fact, the tgroup has a cols attribute which 
does not correspond to the reality[*]. Example, the tgroup has 3 columns but 
its cols attribute is "2".

References:

* http://docs.oasis-open.org/dita/v1.2/os/spec/langref/table.html

* http://docs.oasis-open.org/dita/v1.2/os/spec/langref/tgroup.html

* http://docs.oasis-open.org/dita/v1.2/os/spec/langref/colspec.html



---
[*] Shameless plug: this simply cannot happen when you edit your DITA source 
with XMLmind XML Editor because tgroup/@cols is automatically computed at topic 
file save time.
 
--
XMLmind DITA Converter Support List
[email protected]
http://www.xmlmind.com/mailman/listinfo/ditac-support

Reply via email to