click-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ryan Holmes (JIRA)" <j...@apache.org>
Subject [jira] Commented: (CLK-717) Click 2.2 DTD does not allow a custom Format class
Date Tue, 07 Sep 2010 08:14:33 GMT

    [ https://issues.apache.org/jira/browse/CLK-717?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12906703#action_12906703
] 

Ryan Holmes commented on CLK-717:
---------------------------------

I'm not a DTD expert either, but according to the ATTLIST tutorial at http://www.w3schools.com/dtd/dtd_attributes.asp,
yes, #FIXED can simply be removed and "org.apache.click.util.Format" will be the default value.


> Click 2.2 DTD does not allow a custom Format class
> --------------------------------------------------
>
>                 Key: CLK-717
>                 URL: https://issues.apache.org/jira/browse/CLK-717
>             Project: Click
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 2.2.0
>         Environment: Java 1.6, Jetty, Mac OS X
>            Reporter: Ryan Holmes
>            Priority: Minor
>
> 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">

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message