Skip to content

Compromise on validation#284

Merged
kamil-tekiela merged 1 commit intophp:masterfrom
kamil-tekiela:compromise-on-validation
Apr 29, 2026
Merged

Compromise on validation#284
kamil-tekiela merged 1 commit intophp:masterfrom
kamil-tekiela:compromise-on-validation

Conversation

@kamil-tekiela
Copy link
Copy Markdown
Member

See #170

This PR compromises by adding a fallback in case Java is not available. It also fixes the broken parameters which were made no-op.

@kamil-tekiela kamil-tekiela requested a review from Girgias April 23, 2026 17:48
Copy link
Copy Markdown
Member

@Girgias Girgias left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks fine, although I would prefer to have Jing run by default as schema validation are the most likely reason for failure.

Comment thread configure.php
echo "Command failed do you have Java installed?";
echo "\nThe document didn't validate.\n";

if ($ac['DETAILED_ERRORMSG'] === 'yes') {
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be the default IMHO.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The default can be changed in another PR. I don't mind the default being YES

@kamil-tekiela kamil-tekiela merged commit 81d0ed5 into php:master Apr 29, 2026
11 of 12 checks passed
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.

2 participants