Bill Burke wrote:
I don't like DTDs and XML schemas for the very reason that they force you to
update the DTD every time a new type of configuration comes along.  The
Components themselves should do the validation of their particular part of
the large XML file/document.

Consider an ISV who wants to add their new component to JBoss with new
complex configuration.  They have to modify our DTD?  No, they shouldn't
have to and we shouldn't allow them.

(Don't know much about XML Schemas....maybe they address these issues?)
This is what XML name spaces are for. If in ISV wants to add more config options to jboss, if jboss wants to add new options to the spec ejb-jar.xml file, we just put it in a different name space. Of course this only works with a schema because dtd don't understand name spaces.

-dain



-------------------------------------------------------
This sf.net email is sponsored by: Are you worried about your web server security? Click here for a FREE Thawte Apache SSL Guide and answer your Apache SSL security needs: http://www.gothawte.com/rd523.html
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to