Do you link to <figure> elements? And did you accidentally put the target ID 
attribute on the <imagedata> element rather than the <figure> element? From the 
error message, it seems like it's trying to point directly to <imagedata>, 
which does not have a title.


________________________________
From: Christine Doyle [christine.do...@gmail.com]
Sent: Tuesday, May 24, 2011 6:42 AM
To: docbook-apps@lists.oasis-open.org
Subject: [java] Don't know what gentext to create for xref to: "imagedata", ("")

Hi,
I'm generating docbook HTML output using an ant build file. The source XML 
specifies the following DOCTYPE:

<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
                      "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd";>

I have been producing the required output correctly for some time, but recently 
I noticed the following error message when I run the ant build:

 [java] Don't know what gentext to create for xref to: "imagedata", ("")

I have no idea what I have changed to introduce this error. I have noticed that 
some of my xref links are now generating ??? in the output, where they 
previously generated the required text.
I use the following markup extensively for xrefs to figures:

<xref linkend="my-figure-id" xrefstyle="template:Figure %n"/>

I'd appreciate any suggestions on what might be causing this error and how to 
resolve it.

Regards
Christine










---------------------------------------------------------------------
To unsubscribe, e-mail: docbook-apps-unsubscr...@lists.oasis-open.org
For additional commands, e-mail: docbook-apps-h...@lists.oasis-open.org

Reply via email to