[jdom-interest] Newbie can't parse document!
Alex Colic
alex.colic at pop-ware.com
Wed Mar 7 09:01:58 PST 2001
HI,
I tried to read a different file and it worked. Therefore the code I am
using should be ok but the file I am reading is not. I have checked the two
files and the only difference is that one as a dtd and the other does not. I
have created the builder using the (false) constructor so I thought that
this would bypass the dtd.
The top part of the web.xml file is:
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE web-app
PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN"
"http://java.sun.com/j2ee/dtds/web-app_2.2.dtd">
Where I work we use a proxy server so I cannot ping java.sun.com.
Is the dtd or proxy causing this problem?
Alex
----- Original Message -----
From: "Jon Baer" <jonbaer at digitalanywhere.com>
To: "Gary Bentley" <gb at opengroup.org>
Cc: "Alex Colic" <alex.colic at pop-ware.com>; <jdom-interest at jdom.org>
Sent: Wednesday, March 07, 2001 11:57 AM
Subject: Re: [jdom-interest] Newbie can't parse document!
> Actually all File objects should use
> System.getProperty("file.separator"), but your error message is a little
> wierd because it shows up @ where it actually tests for an XMLFilter it
> seems root = (XMLFilter)root.getParent(); can you post more source for
> your test file?
>
> - Jon
>
>
More information about the jdom-interest
mailing list