Beware that behaviour of some methods should differ between HTML and non-HTML documents. For instance, the RFC says:
> DOMElement→nodeName casing was previously undefined, it is now changed to > always uppercase. However, the DOM Living Standard says it is uppercase (even, ASCII-uppercased) only in the HTML namespace. For XML documents, the casing is not modified. —Claude -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php