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
ID attribute is lost on a title element from a section #3612
Comments
I facing same issue for PDF output with DITA-OT 3.5.4 version. Any suggestions to handle it will be helpful. Thanks, |
In below dita sample, 1st p element consists of xref which is targeting to last p element. But in pdf output file, link does not propagate to respective target. Dita sample :
|
Any update on this? |
@MarvinNorway is it possible you have a PDF customization folder or plugin which may be responsible for this? Can you test this also without the PDF customization? |
@raducoravu Wow, that was quick. I have found out that the "scale" attribute on the table is causing the ID to omitted from the .fo output. Without the "scale" attribute, it works fine. But this is an older DITA-OT version. |
@MarvinNorway I tested with DITA OT 3.7, maybe you can also test with it, I had a DITA table with and without @scale, looked in the XSL-FO output and there is an ID attribute there based on the original ID attribute of the table, so if your XSL-FO output does not have an ID attribute for the fo:block generated from the table, either this was some kind of bug in an older DITA OT version or you may have a PDF customization inducing this problem. |
@raducoravu Thank you. I have spoken to the client and they actually don't use it, the attribute was added accidentally. |
If I have a DITA section with a title element inside and the title element has an
@id
attribute, that ID attribute is not propagated to the XHTML output.Some samples can be found here.
In the XSLT stylesheet
DITA-OT3.x/plugins/org.dita.html5/xsl/topic.xsl
there is a template:which before calling "commonattributes" should also call:
The text was updated successfully, but these errors were encountered: