Hello All,
We want developed an utility in our Java Web application which can compare two text / XML files.
Currently we have done it by using org.custommonkey.xmlunit.DetailedDiff and with the mix of DOM parsers.
But this needs lots of programming and fails for complex XMLs where lots of changes in sequence are involved.
To achieve better results currently we are trying com.a7soft.examxml;
but this is also giving differences in a file and not able to highlight two XMLs.
Has anybody tried building such utility?
We are okay to invoke a third party tool using java.
and then this tool can show differences in our XMLs, something similar to invoking excel from Java.
Any help in this matter is highly appreciated.
Utility should be as good as Beyond Compare or Notepad++ comparator.
XML comparator using JavaXML comparator using Java
Page 1 of 1
5 Replies - 1264 Views - Last Post: 16 June 2010 - 11:41 AM
Replies To: XML comparator using Java
#2
Re: XML comparator using Java
Posted 09 June 2010 - 09:11 AM
#3
#4
Re: XML comparator using Java
Posted 16 June 2010 - 09:10 AM
Hi ,
We are trying to integrate Guiffy in our j2ee webapplication.
When we run the application on windows , guiffy works fine.
But when it run through Unix , it gives error as
java.awt.GraphicsEnvironment.checkHeadless(GraphicsEnvironment.java:159)
We have tried following option to solve this . But it didn't work
1.Djava.awt.headless=true
export LD_LIBRARY_PATH="/usr/X11/lib"
-- This doesn't throw any error . But it doesn't show any output on screen.
2. Djava.awt.headless=false
export DISPLAY=169.82.103.187:1.0
-it throw the error as “Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable”
Please help if anybody has faced this issue .
We are trying to integrate Guiffy in our j2ee webapplication.
When we run the application on windows , guiffy works fine.
But when it run through Unix , it gives error as
java.awt.GraphicsEnvironment.checkHeadless(GraphicsEnvironment.java:159)
We have tried following option to solve this . But it didn't work
1.Djava.awt.headless=true
export LD_LIBRARY_PATH="/usr/X11/lib"
-- This doesn't throw any error . But it doesn't show any output on screen.
2. Djava.awt.headless=false
export DISPLAY=169.82.103.187:1.0
-it throw the error as “Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable”
Please help if anybody has faced this issue .
Page 1 of 1
|
|

New Topic/Question
This topic is locked




MultiQuote









|