207 |
root = doc.createElementNS(namespaceURI, rootName); |
root = doc.createElementNS(namespaceURI, rootName); |
208 |
if (rootName.startsWith("xmlns:")) |
if (rootName.startsWith("xmlns:")) |
209 |
{ |
{ |
210 |
throw new DomEx(DomEx.NAMESPACE_ERR, "xmlns is reserved", null, 0); |
throw new DomDOMException(DOMException.NAMESPACE_ERR, |
211 |
|
"xmlns is reserved", null, 0); |
212 |
} |
} |
213 |
} |
} |
214 |
// Bleech -- L2 seemingly _requires_ omission of xmlns attributes. |
// Bleech -- L2 seemingly _requires_ omission of xmlns attributes. |