docbook-apps

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

    Posted 05-24-2011 13:43
    Hi,
    I'm generating docbook HTML output using an ant build file. The source XML
    specifies the following DOCTYPE:

    "
    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



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

    Posted 05-24-2011 14:04
    Do you link to
    elements? And did you accidentally put the target ID attribute on the <imagedata> element rather than the
    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.doyle@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:

    "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