Michael Richardson wrote: > > Hi, Bill Fenner did a talk today at the IETF on xml2rfc, and briefly > showed XXE. I downloaded the standard edition to my Debian laptop. > > I had kaffe installed, and it didn't work with that:
XXE needs Sun Java in order to run. > > marajade-[/sandel/src/xxe-std-3_1_0] mcr 1132 %bin/xxe& > [2] 30717 > marajade-[/sandel/src/xxe-std-3_1_0] mcr 1133 %java.lang.NullPointerException > at com.xmlmind.xmledit.util.FileUtil.fileToURL (FileUtil.java:168) > at com.xmlmind.xmleditapp.start.Start.doScanAddonDir (Start.java:239) > at com.xmlmind.xmleditapp.start.Start.doScanAddonDir (Start.java:202) > at com.xmlmind.xmleditapp.start.Start.scanAddonDir (Start.java:181) > at com.xmlmind.xmleditapp.start.Start.start (Start.java:452) > at com.xmlmind.xmleditapp.start.Start.main (Start.java:707) Unforturnately, interesting messages, if any, may be below this line. > I grabbed jre-1_5_0_06-linux-i586 from java.sun.com, extracted that > (I wish Sun would get a clue about their license...), and was able to > start XXE. While waiting to find out where to grab Bill's plug-in for > doing RFC2629, I tried opening a middle-sized docbook format document > that I had. (After adding the docbook plugin) > > The document is available at: > www.sandelman.ca/tmp/pluto.8.xml Very small document. Should be very quick to open. > XXE just hangs loading it. Busy icon for 20 minutes. > > While I thought the input validated, it turns out that it doesn't. > (I must have screwed it up recently... thus why I should use XXE...) > > Just thought you should know. Thanks for taking the time to report that problem. My *guess*[1] is that, like many Debian users, despite the fact that you have installed Sun Java, you are trying to run XXE using a Java runtime other than Sun's. The full stack trace should be something like: --- java.lang.NullPointerException at com.xmlmind.xmledit.util.FileUtil.fileToURL(java.io.File) (Unknown Source) at com.xmlmind.xmleditapp.start.Start.doScanAddonDir(java.io.File, java.util.ArrayList) (Unknown Source) at com.xmlmind.xmleditapp.start.Start.doScanAddonDir(java.io.File, java.util.ArrayList) (Unknown Source) at com.xmlmind.xmleditapp.start.Start.scanAddonDir(java.io.File) (Unknown Source) at com.xmlmind.xmleditapp.start.Start.start(java.lang.String, java.lang.String[]) (Unknown Source) at com.xmlmind.xmleditapp.start.Start.main(java.lang.String[]) (Unknown Source) at gnu.java.lang.MainThread.call_main() (/usr/lib/libgcj.so.6.0.0) at gnu.java.lang.MainThread.run() (/usr/lib/libgcj.so.6.0.0) [Loaded (pre-compiled) gnu.gcj.runtime.FileDeleter from <no code source>] --- See http://www.xmlmind.com/xmleditor/user_faq.html#xxe_on_debian --- [1] If this is not the case, it is probably a simple bug in XXE triggered by your working environment. In such case, I would need you to send me what's printed by * command "env" * ls -lR /sandel/src/xxe-std-3_1_0/ * ls -lR ~/.xxe/. --- PS: Your pluto.8.xml is: [1] Non-well formed. XXE cannot open it. [2] After adding the missing </para> using Emacs. It appears to be invalid too: two refnamedivs where only one is allowed. See attached screenshot. -------------- next part -------------- A non-text attachment was scrubbed... Name: pluto.png Type: image/png Size: 58494 bytes Desc: not available Url : http://www.xmlmind.com/pipermail/xmleditor-support/attachments/20060320/3b31d937/attachment.png

