[jboss-user] [Installation, Configuration & DEPLOYMENT] - Use of XML Schema and DTD

stuart_wildcat do-not-reply at jboss.com
Tue Aug 7 22:24:24 EDT 2007


I'm not sure exactly what forum this post belongs in but this seems like the best.

Is there any reason that so many of the XML configuration files for JBoss are still based on DTDs and not Schemas?  It seems like XML schemas are the preferred method of defining XML structure.

The main benefit of XML files based on schemas is that XML editors seem to be more capable editing XML files based on XML schemas.  I have been using the XML tools in Eclipse and importing the JBoss schema definitions into the Eclipse XML catalog feature so Eclipse is aware of the structure and can properly validate and provide content assist for the allowed properties and settings in the file.

This makes it MUCH easier to edit JBoss configuration files and worry about what the values for the settings are and not "did I make a typo or use an invalid property?"

Thanks,
Stuart

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4071804#4071804

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4071804



More information about the jboss-user mailing list