Repository navigation
Conversation
Member
imattas
force-pushed
the
codex/dom-notation-handler-fix
branch
from
November 25, 2026 18:44
a73ed83 to
af4abde
Compare
devnexen
reviewed
Nov 25, 2026
|
|
||
| var_dump($doctype->entities["test"]); | ||
| var_dump($doctype->entities["myimage"]); | ||
| // TODO: isConnected returning false is a bug |
Member
There was a problem hiding this comment.
can you please reestablish this comment ? no reason to remove it.
| string(3) "GIF" | ||
| ["baseURI"]=> | ||
| string(11) "about:blank" | ||
| string(%d) "%s" |
devnexen
approved these changes
Nov 26, 2026
Member
|
Thanks ! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #25752
The modern notation property table defines the
publicIdandsystemIdvirtual handlers, but the class registry pointed to the generic node table. Reads fell through to standard property lookup and could crash the process. Register the notation-specific table, add direct property regression coverage, and update the notation var_dump expectation.Testing:
23970fab063ecba9f63f86a5a788e7cd14e35f0ewith AddressSanitizer. Before the fix, readingpublicIdcrashed inzend_std_read_property(); after the fix, both parsed identifiers were returned.Notation_properties,XMLDocument_node_notation_wiring,DTDNamedNodeMap).5701fc611ecb3bd39a2323804b1e1811afb45f4f; the incorrect registration remains present there.