Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Duplicate xml:id for bibliomixed elements when using more than one external bibliographies #576

Open
fsteimke opened this issue Jan 1, 2025 · 0 comments

Comments

@fsteimke
Copy link
Contributor

fsteimke commented Jan 1, 2025

Happy new year to everyone!

I have a document which uses an automatically managed bibliography with two external bibliographies. I detected a duplicate @id in the generated HTML. Both entries with the same @id don't have an bibliomixed/@xml:id in the DocBook source.

I think the issue is caused when an @xml:id is generated for bibliomixed. I think it is guaranteed to be unique for the containing external bibliography, but not when entries from external bibliographies are merged in the DocBook principal input document. If this is correct, then glossentry from more than one external glossary might also be affected.

I was, however, unable to provide a PR for this issue. I tried in the standalone-functions.xsl. I was able to detect duplicate @xml:id values and tried to correct them in mode mp:strip-empty-biblioentries, but without success.

My workaround is: set the @xml:id in the external bibliography.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant