Trustin,
I probably was not very clear, but the schema is just a start, Jeff is
welcoming any suggestions, enhancements, etc... and AFAIK he would be
delighted if it is used for ADS. I'm ccing him for information
Stephane
Trustin Lee wrote:
Hi Stephane,
This is really interesting. I'll definitely look into the XBeans
project. One problem with this schema is that it cannot define any
custom properties of third-party partitions.
Trustin
2005/11/24, Stephane Bailliez <[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>>:
FYI, Jeff Genender committed under the Geronimo Directory module an
example of a XSD[1] to configure ADS.
It's actually quite nice and readable as you can see in the
example [2]
Jeff would certainly welcome any feedback.
These Geronimo people also sold me on xbeans[3] (no relation to
xmlbeans
used in the Geronimo code) that they favor on Spring configuration
file.
A Spring configuration is normally quite unreadable very quickly, so
what some people were doing is write their own XML (XSD) and transform
it via XSL at loading time to feed Spring XML bean factory. This
is for
example what was doing ActiveMQ (at least in < 3.1).
XBeans is apparently doing that except that it avoids you to write
the xsl
Apparently XBeans will also have native osgi support.
[1]
http://svn.apache.org/repos/asf/geronimo/trunk/modules/directory/src/schema/directory.xsd
<http://svn.apache.org/repos/asf/geronimo/trunk/modules/directory/src/schema/directory.xsd>
[2]
http://svn.apache.org/repos/asf/geronimo/trunk/modules/directory/src/var/directory.xml
[3] http://www.xbeans.org/
--
what we call human nature is actually human habit
--
http://gleamynode.net/