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]

[docbook-apps] 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


To unsubscribe from this list, send a post to docbook-apps-unsubscribe@lists.oasis-open.org, or visit http://www.oasis-open.org/mlmanage/.


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