Hi Wendy,
I'm afraid you hit another bug here. I was a bit puzzled first because
the corresponding id's came from different source documents and
identical id's are only a problem within one xdoc. However, in your case
the anchors appear in a table, and apparently somewhere in the xslt
stylesheet we loose the reference to the current document when
processing tables.
It shouldn't be too hard to fix, I'll have a closer look at tomorrow and
open a JIRA issue if necessary.
Thanks for pointing it out!
-Lukas
Wendy Smoak wrote:
On 10/31/05, Lukas Theussl <[EMAIL PROTECTED]> wrote:
No, if we did everything correctly then you should be able to build the
pdf without changing any xdocs. The current pdf plugin does not generate
id's from sub/section names anymore, only if you have explicitly
identical id's in your xdoc will pdf fail. This is all independend of
the xdoc plugin, we just updated the id generation there to make the
behavior consistent. Check my latest pdf site documentation:
http://people.apache.org/~ltheussl/maven-stage-site/reference/plugins/pdf
Lukas, I finally got back to this, and after building the PDF plugin
from source, I'm still having trouble with duplicate ids.
[java] [ERROR] file:/e:/svn/struts/current/taglib/target/pdf/project.fo:9279
:1971 The id "#define_id" already exists in this document
The offending anchors are coming from Taglib Reference pages generated
by the taglib plugin, so this isn't something I can modify in our docs
to remove the duplicate. It's happening because both <bean:define>
and <nested:define> have an 'id' attribute.
Any ideas on fixing this one?
Thanks,
--
Wendy
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]