Emmanuel Bourg <[EMAIL PROTECTED]> writes:
>I would not add the locator alias in front of the resource name, that
>would look like an URL, but I like the idea. We could just add a locator
>attribute :
><properties locator="classpath" fileName="config.properties"/>
Nah! We went this road in torque with the id generators and along lies
madness! Please don't try to "sweeten" the locator names by
introducing human readable names into the XML syntax.
I'd very much prefer
<properties
locatorClass="org.apache.commons.configuration.locator.ClassPathLocator">
<param name="fileName" value="config.properties" />
</properties>
over that. Using attributes locks us into a defined set of fields by the DTD.
Regads
Henning
--
Dipl.-Inf. (Univ.) Henning P. Schmiedehausen INTERMETA GmbH
[EMAIL PROTECTED] +49 9131 50 654 0 http://www.intermeta.de/
RedHat Certified Engineer -- Jakarta Turbine Development -- hero for hire
Linux, Java, perl, Solaris -- Consulting, Training, Development
What is more important to you...
[ ] Product Security
or [ ] Quality of Sales and Marketing Support
-- actual question from a Microsoft customer survey
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]