Click
  1. Click
  2. CLK-717

Click 2.2 DTD does not allow a custom Format class

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 2.2.0
    • Fix Version/s: 2.3.0-M1
    • Component/s: core
    • Labels:
      None
    • Environment:
      Java 1.6, Jetty, Mac OS X

      Description

      The DTD for Click 2.2 has a fixed value for the format classname. This results in an XML validation error when attempting to specify a custom Format class.

      <!-- Page template formatter class. An new format object added to
      the Velocity context under the key: "format". -->
      <!ELEMENT format (#PCDATA)>
      <!ATTLIST format classname CDATA #FIXED "org.apache.click.util.Format">

        Activity

        Bob Schellink made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Bob Schellink made changes -
        Field Original Value New Value
        Assignee Bob Schellink [ sabob ]
        Fix Version/s 2.3.0-M1 [ 12314845 ]
        Ryan Holmes created issue -

          People

          • Assignee:
            Bob Schellink
            Reporter:
            Ryan Holmes
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development