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

Hussein Shafie <[email protected]>
Newsgroups gmane.text.xml.xfc.general
Message-ID <[email protected]>
On 10/11/2012 04:19 PM, Frank Glaes wrote:
> Hi Hussein,
> thanks for your quick support!
> Both workarounds work fine for me.
>
> When do you think will XMLmind DITA Converter support this type of glossary?

*Probably* next XMLmind DITA Converter release, which means in less than 
one month.

> It seems to be a standard DITA feature. As mentioned earlier DITA OT supports it without problems.
>
> Thanks and greetings,
> Frank
>
> ________________________________________
> From: Hussein Shafie [[email protected]]
> Sent: Monday, October 08, 2012 1:22 PM
> To: Frank Glaes
> Cc: [email protected]; [email protected]
> Subject: Re: [XFC] FW: Convertion error: A sequence of more than one item is not allowed as the first operand of 'eq'
>
> After looking at your sample ditamap, we have realized that the
> following way of authoring a glossary is absolutely not supported by
> XMLmind DITA Converter, the DITA processor included in XMLmind XSL Utility:
>
> ---
> <glossarylist>
>     <topicref href="glossary_entry1.dita"/>
>     <topicref href="glossary_entry2.dita"/>
>     <topicref href="glossary_entry3.dita"/>
>     <topicref href="glossary_entry4.dita"/>
>     <topicref href="glossary_entry5.dita"/>
> </glossarylist>
> ---
>
> Why that? Well...it's a basically an omission in our implementation!
>
> Therefore this is not a simple bug we could fix today in order to very
> quickly send you a patch. It will take some time to support this style
> of glossarylist. Sorry for that.
>
> Meanwhile, we suggest A) or B):
>
> Workaround A)
> -------------
>
> 1) to move your glossary out of<booklists>, that is:
>
> ---
>     <backmatter>
>       <booklists>
>         <figurelist/>
>         <tablelist/>
>         <glossarylist>
>           <topicref href="glossary_app_context.dita"/>
>         </glossarylist>
>         <indexlist/>
>       </booklists>
>     </backmatter>
> ---
>
> becomes:
>
> ---
>     <backmatter>
>       <topicref href="glossary.dita"/>
>       <booklists>
>         <figurelist/>
>         <tablelist/>
>         <indexlist/>
>       </booklists>
>     </backmatter>
> ---
>
> 2) to group all your<glossentry>s into a single<glossgroup>. Let's
> suppose file glossary.dita contains such<glossgroup>:
>
> ---
> <!DOCTYPE glossgroup PUBLIC "-//OASIS//DTD DITA Glossary Group//EN"
> "glossgroup.dtd">
> <glossgroup id="glossary_app_context">
>     <title>Glossary</title>
>
>     <glossentry id="glossentry-app_context-1" xml:lang="de-DE">
>       <glossterm>APP_CONTEXT</glossterm>
>
>       <glossdef>Definition...</glossdef>
>     </glossentry>
>
>     <glossentry id="glossentry-app_context-2" xml:lang="de-DE">
>       <glossterm>APP_CONTEXT</glossterm>
>
>       <glossdef>Definition...</glossdef>
>     </glossentry>
> </glossgroup>
> ---
>
>
> Workaround B)
> -------------
>
> Alternatively, what follows seems to work too:
>
> ---
>     <backmatter>
>       <booklists>
>         <figurelist/>
>         <tablelist/>
>         <glossarylist href="glossary.dita"/>
>         <indexlist/>
>       </booklists>
>     </backmatter>
> ---
>
> Notice that here too, all your<glossentry>s are grouped into a single
> <glossgroup>.
>
 
--
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.