OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Validation Error with Glossary Database


Hi,

I have a document with glossterm entries that look as follows:

<glossterm linkend="gt_ttl">term to link</glossterm>

The "term to link" is defined in a glossary database.

...
<glossentry id="gt_ttl">
  <glossterm>Term to Link</glossterm>
  <acronym>TTL</acronym>
  <glossdef>
    <para>Description of Term to Link</para>
  </glossdef>
</glossentry>
...

End of Document inserts glossary as follows:
<glossary role="auto">
 <glossentry>
  <glossterm>Dummy</glossterm>
  <glossdef>
    <para>Now you see me, next you won't.</para>
  </glossdef>
 </glossentry>
</glossary>

When I transform the glossary is stripped and generated as expected.

But I can't validate the document.
I get back
E An element with the identifier "gt_ttl" must appear in the document.

I was using the glossterm.auto.link method with glossary.collection. But this 
had problems as it missed or could not locate entries that were indeed in the 
database. So I switch to the method above and now can't validate.

I dont want to switch back as the transform now works on all glossterms with 
the desired result that there are no missing glossentries in the Glossary. 
But validation is essential.

Where could the problem be?

-- 
Sean Wheller



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]