Uploaded image for project: 'Click'
  1. Click
  2. CLK-717

Click 2.2 DTD does not allow a custom Format class

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.2.0
    • 2.3.0-M1
    • core
    • None
    • 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">

      Attachments

        Activity

          People

            sabob Bob Schellink
            rholmes Ryan Holmes
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: