OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: Configuration files

[ Lists Home | Date Index | Thread Index ]
  • From: "Michael Kay" <M.H.Kay@eng.icl.co.uk>
  • To: <xml-dev@ic.ac.uk>
  • Date: Fri, 26 Jun 1998 18:01:29 +0100

>It would be extremely useful if we could agree some
conventions. Thus I'd
>like to write:
><PARSER NAME="AElfred">com.microstar.xml.SAXDriver</PARSER>
><PARSER NAME="XP">com.jclark.xml.sax.Driver</PARSER>


While holding the configuration file in XML has some
self-referential elegance, I'm not sure how we solve the
bootstrapping problem of parsing an XML file in order to
discover what parser to use!

Better here, I think, to use the simple keyword=value format
defined by java:

parser.AElfred=com.microstar.xml.SAXDriver
parser.xp=com.jclark.xml.sax.Driver
preferred.parser=xp

Mike


xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo@ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@ic.ac.uk)





 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS