Return-Path: Mailing-List: contact tomcat-dev-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list tomcat-dev@jakarta.apache.org Received: (qmail 15407 invoked from network); 29 Nov 1999 02:10:24 -0000 Received: from ha1.rdc2.occa.home.com (HELO mail.rdc2.occa.home.com) (imail@24.2.8.66) by apache.org with SMTP; 29 Nov 1999 02:10:24 -0000 Received: from cx63989a ([24.1.136.62]) by mail.rdc2.occa.home.com (InterMail v4.01.01.00 201-229-111) with SMTP id <19991129015202.XPZ8415.mail.rdc2.occa.home.com@cx63989a> for ; Sun, 28 Nov 1999 17:52:02 -0800 From: "Preston L. Bannister" To: Subject: RE: cvs commit: jakarta-tools/ant/src/main/org/apache/tools/ant/taskdefs Javac.java Date: Sun, 28 Nov 1999 17:52:02 -0800 Message-ID: <000201bf3a0c$5495df70$3e880118@msnv1.occa.home.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook 8.5, Build 4.71.2173.0 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 In-Reply-To: <3841BC7D.BA858412@eng.sun.com> Importance: Normal From: James Duncan Davidson [mailto:james.davidson@eng.sun.com] > The solution I'm currently mulling over is to whitespace delimit. If > there's path with spaces, quote it... So it would look like: > > <...list="dir1 dir2 'c:\program files\foo'".../> > > Then, anything that was a '/' or a '\' would be treated as a directory > seperator. > > Comments? A mild concern - The most common error is to write: <...list="dir1 dir2 c:\program files\foo".../> Explicit seperator characters (as used in English) are perhaps slightly better as they are a bit more visual: <...list="dir1,dir2,c:\program files\foo".../> <...list="dir1;dir2;c:\program files\foo".../> (Having just read the XML book :) - Isn't this where we should use elements rather than an attribute? You can only have one instance of an attribute. You can have any number of elements.