We have a lot of customers and several group of words in customer specific documentation with different suffixes. Sometimes we need to update the words that are included in the customer documentation. To make it easier the words are stored in tables like:
<row>
<entry><ph id="1" customer="A">szolgáltatáshely</ph></entry>
<entry><ph id="2" customer="A B C D E">szolgáltatási hely</ph></entry>
<entry><ph id="3" customer="F">felhasználási hely</ph></entry>
</row>
The solution is working, however we get a lot of warnings and errors during the validation and gerating PDFs. Is there any better aproach that eliminates these warnings?
Warning message: Duplicate element with ID "some_id" found in the same topic context.
We are using oXygen 14.1
Usually problems like yours appear when in the same DITA topic you have two elements with the same ID like:
<row>
<entry><ph id="1" audience="A">test1</ph><ph id="1" audience="B">test2</ph></entry>
</row>
Even if your profiling will remove one of the elements and the publishing works, according to the DITA specification it is illegal to have two elements with the same ID in the same topic so both Oxygen and the publishing are correct in reporting the problem.
DITA 1.3 specs:
https://www.oxygenxml.com/dita/1.3/specs/archSpec/base/id.html
The DITA specification requires that all IDs be unique within the context of a topic.
If you want to have valid content according to the DITA standard you could try to rewrite your content like:
<row>
<entry><ph id="1"><ph audience="A">test1</ph><ph audience="B">test2</ph></ph></entry>
</row>