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

Warning in TEIP5-Test-dev #2667

Open
martindholmes opened this issue Jan 22, 2025 · 0 comments
Open

Warning in TEIP5-Test-dev #2667

martindholmes opened this issue Jan 22, 2025 · 0 comments
Assignees

Comments

@martindholmes
Copy link
Contributor

This has come up right before the 4.9.0 release, so I'm flagging it here rather than trying to fix it directly during the freeze:

Line 465 of extract-isosch.xsl issues a warning whenever a <sch:report> or <sch:assert> is a direct child of a <constraint> element. This warning is triggered by the following constraintSpec:

<constraintSpec ident="test_contextless_report" scheme="schematron" xml:lang="en">
              <desc>This <gi>constraintSpec</gi> is invalid because it
              has an <gi>sch:report</gi> that does not have a context
              (i.e., does not have a <tag>sch:rule
              context="…"</tag>.)</desc>
              <constraint>
                <sch:report test="false()">This rule never fires.</sch:report>
              </constraint>
            </constraintSpec>

This causes the warning to go into the build log and therefore the Jenkins build is tagged as unstable. Since this is a detest process, perhaps it's important that the warning message be triggered, but surely it should be captured in the detest.log and checked rather than output to the console. Not sure exactly what the solution should be here.

@martindholmes martindholmes self-assigned this Jan 22, 2025
@ebeshero ebeshero added this to the Guidelines 4.10.0 milestone Jan 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants