Differences between revisions 7 and 8
Revision 7 as of 2004-06-23 11:15:35
Size: 1196
Comment:
Revision 8 as of 2009-09-20 22:01:37
Size: 1200
Editor: localhost
Comment: converted to 1.6 markup
Deletions are marked like this. Additions are marked like this.
Line 4: Line 4:
Created for !HiveMind (as a reponse to the ["NotXMLProposal"]). '''SDL''' has the elements, attributes, and nesting present in XML, but is geared towards configuration. Created for !HiveMind (as a reponse to the [[NotXMLProposal]]). '''SDL''' has the elements, attributes, and nesting present in XML, but is geared towards configuration.
Line 6: Line 6:
See the [http://jakarta.apache.org/hivemind/sdl.html reference documentation] to learn more and see examples. The syntax is heavily streamlined to meet the needs of providing configuration data to applications, and since configuration data is ''so'' vital to !HiveMind, it makes sense to address that area directly. Having reworked a lot of !HiveMind descriptors (including the master descriptors and many unit tests) from XML to SDL I know I can't go back! See the [[http://jakarta.apache.org/hivemind/sdl.html|reference documentation]] to learn more and see examples. The syntax is heavily streamlined to meet the needs of providing configuration data to applications, and since configuration data is ''so'' vital to !HiveMind, it makes sense to address that area directly. Having reworked a lot of !HiveMind descriptors (including the master descriptors and many unit tests) from XML to SDL I know I can't go back!
Line 8: Line 8:
The parser (buiilt on ["JavaCC"]), takes the place of a SAX event-driven parser (it emits the same events). The parser (buiilt on [[JavaCC]]), takes the place of a SAX event-driven parser (it emits the same events).
Line 15: Line 15:
DieterBogdoll: Here it is: [http://bogdoll.net/java/hivemind/sdlxml-dist.zip], both versions form sdl to xml and the other way around. DieterBogdoll: Here it is: [[http://bogdoll.net/java/hivemind/sdlxml-dist.zip]], both versions form sdl to xml and the other way around.

Simple Data Language

Created for HiveMind (as a reponse to the NotXMLProposal). SDL has the elements, attributes, and nesting present in XML, but is geared towards configuration.

See the reference documentation to learn more and see examples. The syntax is heavily streamlined to meet the needs of providing configuration data to applications, and since configuration data is so vital to HiveMind, it makes sense to address that area directly. Having reworked a lot of HiveMind descriptors (including the master descriptors and many unit tests) from XML to SDL I know I can't go back!

The parser (buiilt on JavaCC), takes the place of a SAX event-driven parser (it emits the same events).


DieterBogdoll: How about a tool which can convert from XML to SDL and, more importantly, from SDL to XML?

HowardLewisShip: Feel free :-) Seriously, the basics of this (as Ant tasks) are already in place to support generation of HiveDoc.

DieterBogdoll: Here it is: http://bogdoll.net/java/hivemind/sdlxml-dist.zip, both versions form sdl to xml and the other way around.

SimpleDataLanguage (last edited 2009-09-20 22:01:37 by localhost)