Skip to content

Conversation

@arshidkv12
Copy link
Contributor

  • Added DOMDocument::loadXML() check with LIBXML_NOWARNING | LIBXML_NOERROR
  • Enabled libxml internal error handling and collected detailed error messages
    (file, line, column, message)
  • Throw XmlException with detailed context when the XML string is invalid
  • Prevents returning malformed XML from fromArray()

Copy link
Member

@dereuromark dereuromark left a comment

Choose a reason for hiding this comment

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

3 warnings in tests removed, thank you :)

@arshidkv12
Copy link
Contributor Author

You're welcome!

@dereuromark dereuromark merged commit 1da5f57 into cakephp:5.x Aug 19, 2025
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants