slachiewicz opened a new pull request, #13963: URL: https://github.com/apache/maven/pull/13963
Backport of #13953 (merged into apache:maven-3.10.x as fd233f4c2794e08926a82d93fc5168b4738674d8, milestone 3.10.2, fixes #8438) to `maven-3.9.x`. Fixes #8438 `DefaultModelBuilder.readModel()` reaches the strict-parse-retry branch only when the strict parse fails but a non-strict retry succeeds. The modello-generated reader's strict flag only gates schema-shape checks; raw XML well-formedness is enforced by the underlying parser regardless of that flag. So a document reaching this branch is well-formed XML that merely violates the POM schema - report it as invalid, not malformed. Applies the same `"Malformed POM"` → `"Invalid POM"` rename (and explanatory comment) on top of apache/maven-3.9.x. Cherry-picked from fd233f4c2794e08926a82d93fc5168b4738674d8. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
