Configuration files

Michael Kay M.H.Kay at eng.icl.co.uk
Fri Jun 26 18:59:23 BST 1998


>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 at ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo at ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo at ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)




More information about the Xml-dev mailing list