If an author specifies an element id in a topic, and that element id is used in another topic, when the two topics are combined in a single output (book), the publican build fails due to duplicated ids.
1. Create two topics, each containing a table
2. Give the table in each topic the same id attribute
3. Attempt to build a book that includes both topics
topics/General_Broker_options.xml:8: validity error : ID tabl-Messaging_Installation_Guide-Setting_Broker_Options-General_Broker_Options already defined
Rewrite all id elements in topics as the book is assembled. An id element can be used as a target within a topic (example below), so target references can be unambiguously resolved by the builder (namespace is per topic) and rewritten so that they are unambiguous for publican (namespace is per book).
Example of valid use of id as target within a topic:
<para>In <xref linkend="figure_above"/>, yada yada yada.</para>
Fixed in 0.24.0
The builder was only fixing duplicate ids that existed amongst duplicate topics.
A build would fail if an id is used twice in different topics.
Find all the ids first then check if the id has been duplicated. If it has been duplicated then add a unique identifier to the id and then check the rest of the topic for the old id and replace it with the new id.
Closing and setting as current release as no QA was performed by the original reporter. If there is still an issue with this bug still than please re-open it.