0 Replies Latest reply on Aug 7, 2007 10:24 PM by stuart_wildcat

    Use of XML Schema and DTD

    stuart_wildcat

      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