Skip to content

Commit

Permalink
Remove restriction on xmlns attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
tvdijen committed Dec 20, 2024
1 parent 86f52b3 commit 37dcafb
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/Attribute.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ public function __construct(
protected string $attrValue,
) {
Assert::nullOrStringNotEmpty($namespaceURI);
Assert::notSame('xmlns', $namespacePrefix);
if ($namespaceURI !== null) {
Assert::stringNotEmpty($namespacePrefix);
}
Expand Down

0 comments on commit 37dcafb

Please sign in to comment.