Struts 2
  1. Struts 2
  2. WW-3122

Wrong DTD for tiles-config referred in Struts 2.1.6 example application

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 2.1.6
    • Fix Version/s: 2.1.8
    • Component/s: Example Applications
    • Labels:
      None
    • Environment:

      Window XP/Ubuntu, Struts 2.1.6, Tiles 2.0.6, JDK 1.5.0

      Description

      Hi,

      Struts 2 example application (struts2-showcase-2.1.6.war) bundled with Struts 2.1.6 GA mentions http://struts.apache.org/dtds/tiles-config_2_0.dtd for tiles.xml. tiles-config_2.0.dtd on struts.apache.org defines definition element as...

      <!ELEMENT definition (icon?, display-name?, description?, put*, putList*)>

      but the tiles.xml contains put-attribute as child element in tile.xml. I guess tiles.xml DOCTYPE should refer to http://tiles.apache.org/dtds/tiles-config_2_0.dtd instead of http://struts.apache.org/dtds/tiles-config_2_0.dtd.

      Cheers !!!

      • Jay

        Issue Links

          Activity

          Hide
          Wes Wannemacher added a comment -

          good catch, Jay, thanks!

          Show
          Wes Wannemacher added a comment - good catch, Jay, thanks!

            People

            • Assignee:
              Wes Wannemacher
              Reporter:
              Jay Khimani
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development