Skip to content

configure.php validation rewrite, some modularizations, error messages#292

Open
alfsb wants to merge 1 commit into
php:masterfrom
alfsb:configure-validation
Open

configure.php validation rewrite, some modularizations, error messages#292
alfsb wants to merge 1 commit into
php:masterfrom
alfsb:configure-validation

Conversation

@alfsb
Copy link
Copy Markdown
Member

@alfsb alfsb commented May 20, 2026

  • Move DTD related code to one place.
  • Nudhe idempotent paths instead of historical paths in messages.
  • Better diagnostic messages about structural vs XInclude xml:ids
  • Rewrite of validation errors. Java/Jing by default, native libxml otherwise.
  • Make the difference between Structural vs XInclude IDs more visible in docs.

* Move DTD related code to one place.
* Nudhe idempotent paths instead of historical paths in messages.
* Better diagnostic messages about structural vs XInclude xml:ids
* Rewrite of validation errors. Java/Jing by default, native libxml otherwise.
* Make the difference between Structural vs XInclude IDs more visible in docs.
@alfsb
Copy link
Copy Markdown
Member Author

alfsb commented May 20, 2026

Plan to merge this in two weeks, if no one opposes.

Side note: configure.php executes both the native libxml validation and Java jing validation, when there is failure, and this is slow. If the two are perfectly complementar, it's possible to try to run Jing first, and only resorts to run libxml if the code detects Java ausence. Comments?

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