[jdom-interest] Re:[jdom-interest]Build error in Linux, not Windows
Ian Lea
ian.lea at blackwell.co.uk
Wed Nov 21 13:49:39 PST 2001
Works fine for me using JDOM B7 and some version or other
of xerces. Perhaps you are not using xerces as the SAX
parser, or are using a different version, and need to use
something like
Document doc = builder.build("file:///home/brian/test.xml");
--
Ian.
ian.lea at blackwell.co.uk
> Brian Wolf wrote:
>
> Here is the exception, the program, the xml file and the environmental
> settings:
>
> org.jdom.JDOMException: Error in building: home
>
> import org.jdom.Element;
> import org.jdom.Document;
> import org.jdom.output.XMLOutputter;
> import org.jdom.input.SAXBuilder;
>
> public class HelloWorld {
> public static void main(String[] args) {
>
> try {
>
> SAXBuilder builder = new SAXBuilder();
>
> Document doc = builder.build("/home/brian/test.xml");
> etc.
More information about the jdom-interest
mailing list