1--TEST--
2Element::removeAttribute() edge cases
3--EXTENSIONS--
4dom
5--FILE--
6<?php
7
8$dom = Dom\XMLDocument::createFromString('<root a="b"/>');
9try {
10    $dom->documentElement->removeAttributeNode($dom->createAttribute('test'));
11} catch (DOMException $e) {
12    echo $e->getMessage(), "\n";
13}
14
15?>
16--EXPECT--
17Not Found Error
18