Return-Path: Delivered-To: apmail-db-torque-dev-archive@www.apache.org Received: (qmail 25912 invoked from network); 31 Jan 2006 07:28:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 31 Jan 2006 07:28:57 -0000 Received: (qmail 89269 invoked by uid 500); 31 Jan 2006 07:28:57 -0000 Delivered-To: apmail-db-torque-dev-archive@db.apache.org Received: (qmail 89247 invoked by uid 500); 31 Jan 2006 07:28:56 -0000 Mailing-List: contact torque-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Apache Torque Developers List" Reply-To: "Apache Torque Developers List" Delivered-To: mailing list torque-dev@db.apache.org Received: (qmail 89236 invoked by uid 99); 31 Jan 2006 07:28:56 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 30 Jan 2006 23:28:56 -0800 X-ASF-Spam-Status: No, hits=-10.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [209.237.227.194] (HELO minotaur.apache.org) (209.237.227.194) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 30 Jan 2006 23:28:56 -0800 Received: (qmail 25807 invoked by uid 1977); 31 Jan 2006 07:28:35 -0000 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 31 Jan 2006 07:28:35 -0000 Date: Mon, 30 Jan 2006 23:28:35 -0800 (PST) From: Thomas Fischer To: Apache Torque Developers List Subject: RE: Torque tries to get database.dtd over the net if no dtd is specified In-Reply-To: <8F5843B903F59D4C8C6806BB49A3911905E451@dukece-mail3.dukece.com> Message-ID: <20060130232230.A21696@minotaur.apache.org> References: <20060128075222.D9829@minotaur.apache.org> <8F5843B903F59D4C8C6806BB49A3911905E451@dukece-mail3.dukece.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Spam-Rating: localhost 1.6.2 0/1000/N X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N On Mon, 30 Jan 2006, Greg Monroe wrote: > Only issue I can think of is if you're upgrading torque and have a > schema with the old version dtd in the doctype. Will the change > cause the generator choke on old schema defs? > Current behaviour is: The generator only has the _CURRENT_ dtd in its jar files. Older dtd's are accessed over the net. This is a problem if (and only if) someone does not have access to the internet on the computer where the generator is build.I did not propose tho change that. The disussin was about what happens if _NO_ dtd is given in the schema xml file. Currently, the 3.2 dtd is used. This is not standard behaviour. After discussion with Thomas V on the list, my current proposal is not to check against a dtd if no dtd is given. Thomas > ________________________________ > > From: Thomas Fischer [mailto:tfischer@apache.org] > Sent: Sat 1/28/2006 10:55 AM > To: torque-dev@db.apache.org > Subject: Torque tries to get database.dtd over the net if no dtd is specified > > > > Is this necessary ?? I would think if no dtd is given, we could use the > one which comes in the generator jar without accessing the net for it. > > See the DTDResolver.resolveEntity() code. > > Please make yourself heard if you find a reason for the current behaviour. > I'm going to change it if I hear nothing. > > Thomas > > --------------------------------------------------------------------- > To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org > For additional commands, e-mail: torque-dev-help@db.apache.org > > > > > Duke CE Privacy Statement > Please be advised that this e-mail and any files transmitted with it are confidential communication or may otherwise be privileged or confidential and are intended solely for the individual or entity to whom they are addressed. If you are not the intended recipient you may not rely on the contents of this email or any attachments, and we ask that you please not read, copy or retransmit this communication, but reply to the sender and destroy the email, its contents, and all copies thereof immediately. Any unauthorized dissemination, distribution or copying of this communication is strictly prohibited. > > > --------------------------------------------------------------------- To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org For additional commands, e-mail: torque-dev-help@db.apache.org