From 37dcafbe2ed9d339213599a5cb7566c062d3c1b3 Mon Sep 17 00:00:00 2001 From: Tim van Dijen Date: Fri, 20 Dec 2024 23:40:17 +0100 Subject: [PATCH] Remove restriction on xmlns attributes --- src/Attribute.php | 1 - 1 file changed, 1 deletion(-) diff --git a/src/Attribute.php b/src/Attribute.php index 2249e47..2c3cc53 100644 --- a/src/Attribute.php +++ b/src/Attribute.php @@ -32,7 +32,6 @@ public function __construct( protected string $attrValue, ) { Assert::nullOrStringNotEmpty($namespaceURI); - Assert::notSame('xmlns', $namespacePrefix); if ($namespaceURI !== null) { Assert::stringNotEmpty($namespacePrefix); }