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

HTML5 warning: map2html5Impl.xsl is included or imported more than once #2821

Closed
infotexture opened this Issue Oct 21, 2017 · 5 comments

Comments

Projects
3 participants
@infotexture
Member

infotexture commented Oct 21, 2017

HTML5 builds throw the following XSLT warning in the console:

[xslt] Warning at xsl:stylesheet on line 12 column 59 of map2html5Impl.xsl:
[xslt]   Stylesheet module plugin:org.dita.html5:xsl/map2html5Impl.xsl is included or imported more
[xslt]   than once. This is permitted, but may lead to errors or unexpected behavior

Output appears to be generated correctly, but the presence of this warning will cause confusion for users if it continues to appear.

@infotexture infotexture added this to the 3.0 milestone Oct 21, 2017

@jelovirt jelovirt modified the milestones: 3.0, Next Oct 29, 2017

@infotexture

This comment has been minimized.

Member

infotexture commented Nov 15, 2017

The duplicate imports are in org.dita.html5/xsl/map2html5-coverImpl_template.xsl and nav.xsl
— but they've been there since 2.4, so it's not immediately apparent why the errors began appearing during the 3.0 release cycle.

@robander

This comment has been minimized.

Member

robander commented Nov 16, 2017

it's not immediately apparent why the errors began appearing during the 3.0 release cycle.

I would guess it's related to the big jump in Saxon versions that came with 3.0...

@jelovirt jelovirt added this to To Do in 3.1 Jan 11, 2018

@infotexture infotexture added this to To do in 3.0.4 via automation May 4, 2018

@infotexture infotexture removed this from To Do in 3.1 May 4, 2018

@infotexture infotexture moved this from To do to Done in 3.0.4 May 4, 2018

@infotexture infotexture modified the milestones: Next, 3.0.4 May 4, 2018

@infotexture

This comment has been minimized.

Member

infotexture commented May 4, 2018

Resolved for 3.1 in #2939, cherry-picked to 3.0.4 in #2950.

@infotexture infotexture closed this May 4, 2018

@infotexture infotexture modified the milestones: 3.0.4, Next May 10, 2018

@infotexture

This comment has been minimized.

Member

infotexture commented May 10, 2018

#2950 was reverted from 3.0.4 in 0197aed.

@infotexture infotexture reopened this May 10, 2018

3.0.4 automation moved this from Done to In progress May 10, 2018

@infotexture infotexture added this to To Do in 3.1 via automation May 10, 2018

@infotexture infotexture removed this from In progress in 3.0.4 May 10, 2018

@jelovirt

This comment has been minimized.

Member

jelovirt commented May 29, 2018

Implemented by #2970.

@jelovirt jelovirt closed this May 29, 2018

3.1 automation moved this from To Do to Done May 29, 2018

@infotexture infotexture added the bug label Jun 4, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment