For org.w3c.dom.Document retrieved as follows:
--- DOMParser parser = new DOMParser();
parser.parse("test.xml");
Document document = parser.getDocument();
---from attached file "test.xml" we'll have that document.getDocumentElement().getTagName() equals "myns:root", not "root". Is it a bug or may be i just forgot to set a feature?
<?xml version="1.0" encoding="UTF-8"?>
<myns:root
xmlns:myns="http://any.namespace.there"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://any.namespace.there test.xsd">
Sample.
</myns:root>
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
