Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@apache.org Received: (qmail 45003 invoked from network); 10 Jul 2003 17:41:25 -0000 Received: from exchange.sun.com (192.18.33.10) by daedalus.apache.org with SMTP; 10 Jul 2003 17:41:25 -0000 Received: (qmail 15117 invoked by uid 97); 10 Jul 2003 17:43:57 -0000 Delivered-To: qmlist-jakarta-archive-tomcat-user@nagoya.betaversion.org Received: (qmail 15110 invoked from network); 10 Jul 2003 17:43:56 -0000 Received: from daedalus.apache.org (HELO apache.org) (208.185.179.12) by nagoya.betaversion.org with SMTP; 10 Jul 2003 17:43:56 -0000 Received: (qmail 43511 invoked by uid 500); 10 Jul 2003 17:41:11 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Users List" Reply-To: "Tomcat Users List" Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 43497 invoked from network); 10 Jul 2003 17:41:10 -0000 Received: from mimas.arc.ab.ca (128.144.50.50) by daedalus.apache.org with SMTP; 10 Jul 2003 17:41:10 -0000 Received: from conversion-daemon.arc.ab.ca by arc.ab.ca (PMDF V6.2 #40661) id <01KY3C5LK3HS94EOCN@arc.ab.ca> for tomcat-user@jakarta.apache.org; Thu, 10 Jul 2003 11:41:14 -0600 (MDT) Received: from WRAY-FP.arc.ab.ca (wray-fp.arc.ab.ca [128.144.60.63]) by arc.ab.ca (PMDF V6.2 #40661) with ESMTP id <01KY3C5L1ISA94F4R6@arc.ab.ca> for tomcat-user@jakarta.apache.org; Thu, 10 Jul 2003 11:41:13 -0600 (MDT) Date: Thu, 10 Jul 2003 11:41:12 -0600 From: Robert Wray Subject: RE: XML DOCTYPE problem In-reply-to: X-Sender: wray@mail.arc.ab.ca To: Tomcat Users List Message-id: <5.1.1.5.2.20030710113612.00adf828@mail.arc.ab.ca> MIME-version: 1.0 X-Mailer: QUALCOMM Windows Eudora Version 5.1.1 Content-type: text/plain; charset=us-ascii; format=flowed References: X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Have you tried moving your .dtd file to somewhere else? Try moving so that is accessible via web or say in the /WEB-INF/dtds/innovtech/datasheet.dtd of your application. Is there a particular reason you need to store all your dtd's in "c:/dtds" ? At 07:42 AM 10/07/2003 -0700, you wrote: >This seems very strange. Almost any xml editor or xml system uses the public >or system identifier to point to a the DTD so it can vaildate the instance. >The public or system identifier is part of EVERY valid xml file. There must >be some way to handle it?? It's true that the jstl xml parser doesn't >validate it, that's not what I need since I will be producing valid xml, I >just need the jstl x:parse to ignore it so I don't get an error?? Someone >must have run into this before. > >Thanks for the help though. I'll keep researching it. > >-Brian > >-----Original Message----- >From: Abid Ali Teepo [mailto:abid.ali.teepo@mogul.no] >Sent: Thursday, July 10, 2003 1:15 AM >To: Tomcat Users List >Subject: RE: XML DOCTYPE problem > > >And i think it even has to have a http:// in front > >-----Original Message----- >From: Abid Ali Teepo >Sent: 10. juli 2003 09:38 >To: Tomcat Users List >Subject: RE: XML DOCTYPE problem > > >I think the reference to a doctype has to be on the format >www.somesite.com/dtd/data.dtd or similar > >Besides i don't thinkt it will actually validate against that >DTD anyway .... > >-----Original Message----- >From: Brian Menke [mailto:brian.menke@lspeed.com] >Sent: 10. juli 2003 07:21 >To: Tomcat Users List >Subject: XML DOCTYPE problem > > >Hi everyone, > >I have created a JSP page that use the jstl xml tag library, specifically >using >xpath. Everything works perfectly fine as long as I don't have a doctype >declaration like the following in my XML instance: > >"c:/dtds/innovtech/datasheet.dtd"> > >If I remove it, everything works great, but if I don't, I get a java error >like this: > >org.apache.jasper.JasperException: Could not resolve entity reference: >"///c:/dtds/innovtech/datasheet.dtd" > >I have to have the doctype in the xml. Does anyone know how I can fix this?? > >I did post this to the taglib email list, but it doesn't seem to get near >the traffic as this group. > >Thanks! > >-Brian > --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-user-help@jakarta.apache.org