Return-Path: Delivered-To: apmail-xml-general-archive@xml.apache.org Received: (qmail 56161 invoked by uid 500); 24 Aug 2001 07:02:02 -0000 Mailing-List: contact general-help@xml.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: general@xml.apache.org Delivered-To: mailing list general@xml.apache.org Received: (qmail 56135 invoked from network); 24 Aug 2001 07:02:02 -0000 From: Ben.Peter@t-online.de (Ben Peter) To: Subject: RE: keeping crimson from asking for DTDs Date: Fri, 24 Aug 2001 09:01:02 +0200 Message-ID: <000001c12c6a$96a425a0$8119fea9@BPETER> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook CWS, Build 9.0.2416 (9.0.2911.0) Importance: Normal In-Reply-To: <3B85B159.6CD3CBFA@sun.com> X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 X-Sender: 520013989371-0001@t-dialin.net X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N Tanks a lot! Ben -----Original Message----- From: Edwin Goei [mailto:edwingo@sun.com] Sent: Friday, August 24, 2001 3:44 AM To: general@xml.apache.org Subject: Re: keeping crimson from asking for DTDs Ben Peter wrote: > > Hi all, > > I am working with crimson as packaged with the JAXP-1.1 distribution. > > Even though I set it to non-validating and set it to not resolve external > references, crimson will try to access a DTD that is referenced in an XML > file and throw an exception if it cannot. This is attached below. > > The scenario in which I am stuck is rather simple: I am trying to parse an > ejb-jar.xml and a weblogic-ejb-jar.xml file on my laptop while offline ;-) I > know that I could keep the DTDs locally on my machine, but that would not be > very useful, as I would have to have the DTD reference point to my local > filesystem. Also, it should be possible to tell crimson to leave the DTD > alone, or am I getting anything wrong? I just added this to my JAXP FAQ, see the following link which might help... http://xml.apache.org/~edwingo/jaxp-faq.html#EntityResolver --------------------------------------------------------------------- In case of troubles, e-mail: webmaster@xml.apache.org To unsubscribe, e-mail: general-unsubscribe@xml.apache.org For additional commands, e-mail: general-help@xml.apache.org --------------------------------------------------------------------- In case of troubles, e-mail: webmaster@xml.apache.org To unsubscribe, e-mail: general-unsubscribe@xml.apache.org For additional commands, e-mail: general-help@xml.apache.org