Hi,
 
I have an xml document:
<myroot>
<test>fdfds</test>
</myroot123>
 
And I use XercesDOMParser to parser this documentation. In my thought, it should be invalid for the root tag is not the exactly same, but I got the right dom tree. After I write this dom tree back, it changed to:
<myroot>
<test>fdfds</test>
</myroot>

Is it the right behavior of XercesDOMParser with default parser option? I use other browse to open this document, such as IE, it report grammar error.

Thanks!

Reply via email to