We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b9b8684 commit 0e52ca8Copy full SHA for 0e52ca8
src/Attribute.php
@@ -108,7 +108,7 @@ public function toXML(DOMElement $parent): DOMElement
108
{
109
$parent->setAttributeNS(
110
$this->getNamespaceURI(),
111
- ($this->getNamespacePrefix() !== null)
+ ($this->getNamespacePrefix() !== '')
112
? ($this->getNamespacePrefix() . ':' . $this->getAttrName())
113
: $this->getAttrName(),
114
$this->getAttrValue(),
0 commit comments