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

          Jay Khimani created issue -
          Hide
          Wes Wannemacher added a comment -

          good catch, Jay, thanks!

          Show
          Wes Wannemacher added a comment - good catch, Jay, thanks!
          Wes Wannemacher made changes -
          Field Original Value New Value
          Fix Version/s 2.1.7 [ 21907 ]
          Assignee Wes Wannemacher [ wesw@wantii.com ]
          Resolution Fixed [ 1 ]
          Status Open [ 1 ] Resolved [ 5 ]
          Wes Wannemacher made changes -
          Fix Version/s 2.1.7 [ 21907 ]
          Fix Version/s 2.1.8 [ 21920 ]
          Jeff Turner made changes -
          Project Import Mon Feb 01 01:17:42 UTC 2010 [ 1264987062082 ]
          Johannes Geppert made changes -
          Link This issue duplicates WW-3065 [ WW-3065 ]
          Lukasz Lenart made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          Transition Time In Source Status Execution Times Last Executer Last Execution Date
          Open Open Resolved Resolved
          21d 14h 5m 1 Wes Wannemacher 29/May/09 21:32
          Resolved Resolved Closed Closed
          1248d 1h 38m 1 Lukasz Lenart 28/Oct/12 22:11

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development