Created an Element object with an incorrect value in the ID attribute in JAVA.
I have below code
Element element=doc.createElement(“Parent”);
element.setAttribute(“id”,”123″);
Which works fine on local giving expected result as below.
when deploy it on server output is different than what is expected.