Skip to content

Make XsltStepTest DOCTYPE check locale-independent - #482

Open
e210 wants to merge 1 commit into
OpenIntegrationEngine:mainfrom
e210:fix/issue-476-xslt-doctype-locale
Open

e210 wants to merge 1 commit into
OpenIntegrationEngine:mainfrom
e210:fix/issue-476-xslt-doctype-locale

Conversation

@e210

@e210 e210 commented Oct 10, 2026

Copy link
Copy Markdown
Contributor

The JDK kindly translates "DOCTYPE is disallowed", so on an Italian machine the test got "DOCTYPE non è consentito" and gave up. Now it checks for disallow-doctype-decl, the feature URI that every translation keeps as is. No locale forcing needed.

Passes on it, tr, en and ja.

Part of #476 (the CI scenario is still to come)

…gine#476)

The JDK translates the "DOCTYPE is disallowed" message, so the test failed
on non-English locales. Check the feature URI instead, which appears in
every translation.

Signed-off-by: Ezio Caffi <ezio.caffi@gmail.com>
@github-actions

Copy link
Copy Markdown

Test Results

128 files  ±0  128 suites  ±0   3m 9s ⏱️ +44s
729 tests ±0  729 ✅ ±0  0 💤 ±0  0 ❌ ±0 
819 runs  ±0  813 ✅ ±0  6 💤 ±0  0 ❌ ±0 

Results for commit 40e9746. ± Comparison against base commit a13e6af.

@e210
e210 marked this pull request as ready for review October 10, 2026 21:49
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

Successfully merging this pull request may close these issues.

1 participant