XML and SDL are fully equivalent.  If you name your descriptor hivemodule.xml 
then it should be in
XML format.

For XML documents, HiveMind uses JAXP to locate a SAX parser.  For SDL, it uses 
its own internal
parser. Both generate the same SAX parse events, and the rest of the code 
inside the
DescritptorParser class doesn't know or care which format its reading ... it 
sees elements and
attributes and character data and turns that into module descriptor objects.

--
Howard M. Lewis Ship
Independent J2EE / Open-Source Java Consultant
Creator, Jakarta Tapestry
Creator, Jakarta HiveMind
http://howardlewisship.com


> -----Original Message-----
> From: Lars Wunderlich [mailto:[EMAIL PROTECTED] 
> Sent: Tuesday, July 20, 2004 2:34 AM
> To: [EMAIL PROTECTED]
> Subject: Question concerning XML and SDL compatibility in Hivemind
> 
> 
> Dear Mr Ship,
> 
> I'm planning to use your hivemind framework inside my 
> project. I'm a little
> bit confused about the proprietary SDL format. Your 
> documentation says that
> one can either the SDL or the XML format for configuration purposes.
> What about hivedoc documentation inside XML? Is the usage absolutely
> equivalent to the SDL format? Can I generate Hivedoc from 
> XML? Which XML
> elements/attributes do I have to use?
> 
> Best regards
> 
> Lars Wunderlich.
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to