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

Wrong attribute name for language support in XSL-FO #245

Open
frank-steimke opened this issue Jun 23, 2022 · 0 comments
Open

Wrong attribute name for language support in XSL-FO #245

frank-steimke opened this issue Jun 23, 2022 · 0 comments

Comments

@frank-steimke
Copy link

There are two similar named emplates in xsl/common/i10n.xsl for language support, called language.attribute and xml.language.attribute.
Both try to find the correct language value for a given node by inspecting the ancester axis. Then an attribute called "lang" is emited.
But that attribute name is wrong, the name must be "language". See section 7.10.2 in the XSL-FO Specification.

The second issue is that none of these stylesheets seem to be called anywhere in the stylesheets. Otherwise the bug had been detected immediately, since an attribute called lang is invalid in XSL-FO.

Regards, Frank Steimke

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