Return-Path: Delivered-To: apmail-jakarta-commons-dev-archive@www.apache.org Received: (qmail 31910 invoked from network); 12 Jan 2005 04:29:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 12 Jan 2005 04:29:14 -0000 Received: (qmail 44357 invoked by uid 500); 12 Jan 2005 04:29:13 -0000 Delivered-To: apmail-jakarta-commons-dev-archive@jakarta.apache.org Received: (qmail 43865 invoked by uid 500); 12 Jan 2005 04:29:12 -0000 Mailing-List: contact commons-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Jakarta Commons Developers List" Reply-To: "Jakarta Commons Developers List" Delivered-To: mailing list commons-dev@jakarta.apache.org Received: (qmail 43849 invoked by uid 99); 12 Jan 2005 04:29:11 -0000 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=NO_REAL_NAME X-Spam-Check-By: apache.org Received: from ajax-1.apache.org (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 11 Jan 2005 20:29:11 -0800 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (8.12.11/8.12.11) with ESMTP id j0C4T9A6022439 for ; Wed, 12 Jan 2005 05:29:09 +0100 Received: (from nobody@localhost) by ajax.apache.org (8.12.11/8.12.11/Submit) id j0C4T8eD022437; Wed, 12 Jan 2005 05:29:08 +0100 Date: Wed, 12 Jan 2005 05:29:08 +0100 Message-Id: <200501120429.j0C4T8eD022437@ajax.apache.org> From: bugzilla@apache.org To: commons-dev@jakarta.apache.org Subject: DO NOT REPLY [Bug 33001] - [digester] Make available X-Bugzilla-Reason: AssignedTo X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG� RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND� INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=33001 ------- Additional Comments From skitching@apache.org 2005-01-12 05:29 ------- declares stuff that can be referenced from the XML. declares stuff that can be referenced from the DTD. This is called a "Parameter Entity". It can then be referred to from within the DTD using "%name;" (aka a "Parameter Entity Reference" or PEReference). It should therefore be possible to define the list of available rule elements just once using then reference this entity instead of duplicating the list everywhere it is needed in the dtd. For some reason the original author of the dtd declared the appropriate Parameter Entity, but then used copy-and-paste rather than referencing the entity. Personally I would prefer to use this entity correctly rather than remove it - unless someone can suggest a reason to avoid using . I have attached a modified DTD with this change and your (Wendy's) changes; Wendy, are you happy with this? BTW, thanks for the pointer to the jEdit ErrorList window. Re changing xmlrules to validate the rules file against the DTD: well, it certainly wouldn't be a good idea to validate against a remote version of the dtd, but it would be possible to define an EntityResolver so that it validates against a local version of the dtd found in the digester jar file. We would also need a way for people to disable this, eg if they add their own tags - I guess people could just leave out the PUBLIC/SYSTEM id in their xmlrules file? I have no real objection to this if you wish to provide a patch. Anyone else got a comment on this? Re the part of your patch to change the recommended doctype declaration in xmlrules config files from: to: I'm not really keen on this. I think people should be using a Catalog to map the public id to a local copy of the DTD. We should definitely update the file at "http://jakarta.apache.org/commons/digester/dtds/digester-rules.dtd" though. I will do this once we have finished with changes to the dtd (and add this task to the release procedure). As all the proposed changes are backwards-compatibile, I don't see any particular reason to change the dtd name to include a version number (though I'm open to arguments). -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-dev-help@jakarta.apache.org