Issue #18 has been updated by Raphaël Ouazana.
Hi,
Rémy-Christophe Schermesser wrote:
> We (Jonathan, Sebastien and me) decided for this new configuration format in
> the FOSDEM, what do you think of it ?
I think this is XML? So just a few technical remarks:
1/ There are some missing elements:
<pre class="xml">
<?xml version="1.0" encoding="UTF-8"?>
</pre> is not mandatory but would be fine.
Furthermore there are no global surrounding tag, so this is not a valid XML
file. There should be something like <configuration>...</configuration>
2/ Be careful to XML syntax, which can cause problems specifically while
writing LDAP filters :
> <pre class="xml">
> <getAllFilter>(&(objectClass=inetOrgPerson)(uid=*))</getAllFilter>
>
> <getOneFilter>(&(objectClass=inetOrgPerson)(uid={uid}))</getOneFilter></pre>
is incorrect, it should be:
<pre class="xml">
<getAllFilter>(&(objectClass=inetOrgPerson)(uid=*))</getAllFilter>
<getOneFilter>(&(objectClass=inetOrgPerson)(uid={uid}))</getOneFilter>
</pre>
3/ A DTD and/or an XML schema would be fine.
Regards,
Raphaël.
----------------------------------------
Feature #18: Change the configuration format to something more adaptable
http://tools.lsc-project.org/issues/show/18
Author: Jonathan Clarke
Status: Feedback
Priority: Normal
Assigned to:
Category: Core
Target version: Sometime in the future
XML?
YAML?
Think about it being parsed/written by a web interface.
WIP :
h2. XML :
+ Very easy to read/write for a computer
+ With CDATA we can write multiple lines JS
- Very hard to read/write for a human
h2. YAML :
+ Easy to read/write for a human/computer
+ Can write multiple lines JS
h2. Properties :
+ Easy to read/write for a human/computer
+ Can reference other properties
- Can not write multiple lines JS
h2. NeXt/ Open Step configuration files
See :
http://commons.apache.org/configuration/apidocs/org/apache/commons/configuration/plist/PropertyListConfiguration.html
+ Easy to read/write for a human/computer
- Can not write multiple lines JS
--
You have received this notification because you have either subscribed to it,
or are involved in it.
To change your notification preferences, please click here:
http://tools.lsc-project.org/my/account
_______________________________________________________________
Ldap Synchronization Connector (LSC) - http://lsc-project.org
lsc-dev mailing list
[email protected]
http://lists.lsc-project.org/listinfo/lsc-dev