Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions NEWS
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ PHP NEWS
2GB on some platforms, e.g. Windows. (Sjoerd Langkemper)

- DOM:
. Fixed a typo in the DOMException message for INUSE_ATTRIBUTE_ERR.
(Weilin Du)
. Fixed bug GH-22624 (use-after-free via DOMNameSpaceNode after
DOMDocument::xinclude()). (David Carlier)
. Fixed a use-after-free when cloning a DOMNameSpaceNode after
Expand Down
2 changes: 1 addition & 1 deletion ext/dom/domexception.c
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ void php_dom_throw_error(dom_exception_code error_code, bool strict_error)
error_message = "Not Supported Error";
break;
case INUSE_ATTRIBUTE_ERR:
error_message = "Inuse Attribute Error";
error_message = "In Use Attribute Error";
break;
case INVALID_STATE_ERR:
error_message = "Invalid State Error";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,5 @@ echo $dom1->saveHtml(), "\n";

?>
--EXPECT--
Inuse Attribute Error
In Use Attribute Error
<container my-attribute="1"><element></element></container>
Loading