Thanks for the reply.
1)The different is on the byte level.When we print the byte of the orignal DOM and DOM converted from JDOM , the size is different.
2)The DOM converted from JDOM has the white space if the element doesn't have the values.
For example :
Orignal XML content:
<?xml version="1.0" encoding="UTF-8"?>
<div id="main"></div>
<div id="main"></div>
DOM o/p using XMLUtils.outputDOMc14nWithComments(
<div id="main"></div>
JDOM O/P converted from DOM using XMLOutputter:
<?xml version="1.0" encoding="UTF-8"?>
<div id="main" />
I think thats why it doesn't valid the DOM converted from JDOM.
Can any expert suggest me a way to resolve the issue.
Cheers,
Chris.
Martin Labarthe Dubois <[EMAIL PROTECTED]> wrote:
Martin Labarthe Dubois <[EMAIL PROTECTED]> wrote:
The validation of DOM converted from JDOM fails.The reason is the converted DOM from JDOM is different than the original DOM.Can you specify where is the difference?send some examples.
Yahoo! Messenger with Voice. Make PC-to-Phone Calls to the US (and 30+ countries) for 2ยข/min or less.
