Re: Convertion error: A sequence of more than one item is not allowed as the first operand of 'eq'

Frank Glaes <[email protected]>
Newsgroups gmane.text.xml.xfc.general
Message-ID <A283B5F8C40FB14F9E89D02F13F3026F0CB39D1F@BL2PRD0810MB351.namprd08.prod.outlook.com>
Hi,
attached is a simple example.
If you convert the file "Handbuch.ditamap" as provided everything works fine and you get the word file.

If un-commenting line 29 you get an error during conversion.
The remaining .fo file is also in the attached .zip file.

I also attach a screenshot of the converter.

So the problem seems to be in the glossary stuff.

Thanks in advance and greetings,
Frank


-----Original Message-----
From: Hussein Shafie [mailto:[email protected]] 
Sent: Freitag, 5. Oktober 2012 20:14
To: Frank Glaes
Cc: [email protected]; [email protected]
Subject: Re: [XFC] Convertion error: A sequence of more than one item is not allowed as the first operand of 'eq'

On 10/05/2012 06:32 PM, Frank Glaes wrote:
>
> I just bought a professional license of xml utils to convert my DITA 
> files to word.
>
> I get the following error:
>
> ...
>
> Transforming ">8 cut ...Betriebshandbuch.ditac" to ">8 cut 
> ...Betriebshandbuch.fo" using 
> V:\Tools\xslutil_pro-4_7_0\addon\config\dita\xsl\fo\fo.xsl...
>
> fatal error reported by the XSLT engine:
>
> *A sequence of more than one item is not allowed as the first operand 
> of 'eq' (36, 39) ; SystemID:
> file:/V:/Tools/xslutil_pro-4_7_0/addon/config/dita/xsl/fo/pagination.xsl; Line#:
> 798; Column#: -1 *
>
> cannot transform ">8 cut ...
>
> java.lang.RuntimeException: Conversion "ditaToDocx" has failed with 
> exit code 5.
>
> +---------------------------------------
>
> | com.xmlmind.xslutil.ConvertTask.doRun1(ConvertTask.java:182)
>
> | com.xmlmind.xslutil.ConvertTask.doRun(ConvertTask.java:133)
>
> | com.xmlmind.xslutil.ConvertTask.run(ConvertTask.java:112)
>
> | java.lang.Thread.run(Unknown Source)
>
> +---------------------------------------
>
> What could be the reason for that?

No idea. See below.




>
> I'm using glossary in the backmatter. Could that be the problem?

No. You have uncovered a bug in XMLmind DITA Converter (http://www.xmlmind.com/ditac/). Nothing you have done should cause this.



>
> I remember similar problems in the past and removed the glossary. But
> DOTA OT has no problems creating PDF.

XMLmind XSL Utility does not embed the DITA OT. It embeds XMLmind DITA 
Converter (http://www.xmlmind.com/ditac/). XMLmind DITA Converter has 
this bug. DITA OT does not have it.



>
> Any idea?

No. If we cannot reproduce the problem here at XMLmind, then I'm sorry, 
but we cannot help you at all.

Please send us (possibly privately: mailto:[email protected]) a copy 
of your DITA document or a mock-up document allowing us to reproduce the 
problem.

If you cannot do this, then you'll have to find the workaround by yourself.




 
--
XMLmind FO Converter Support List
[email protected]
http://www.xmlmind.com/mailman/listinfo/xfc-support
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.