XML Technologies Blog from October, 2007

  2007/10/31
Relative URLs using File Scheme
Last Changed by Arun Batchu, Oct 31, 2007 13:59

I ran into an interesting problem where I wanted to specify a relative file path in a <code>file:</code> scheme (don't ask me why on earth would I want to do that). Here is what worked ( from an answer by ElliotteRustyHarold - a genius).

Posted at 31 Oct @ 1:57 PM by Arun Batchu | 0 Comments
Dom4J rocks
Last Changed by Arun Batchu, Nov 21, 2007 10:35
Labels: great, tool, library, xml, swissarmyknife, dom4j

Dom4J rocks for XML processing - Close to specification, open source, free, extremely performant and very elegant, intuitive API alongwith freely available documentation of examples as well as usage. And very efficient for parsing gigantic xml documents (how big? how about 450 MB?). There is a slight memory leak when doing XPath expressions that, at this enormous scale, adds up and causes memory problems (I used the fabulous Optimize IT profiler to ping the 'leaky' call down that allowed me to work around the problem). If you want a solution, add a comment; send me an email arun.batchu@gmail.com

Posted at 31 Oct @ 3:59 PM by Arun Batchu | 0 Comments