click-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bob Schellink (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 07:07:32 GMT

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

Bob Schellink commented on CLK-717:
-----------------------------------

I don't know much about DTD's, but can we remove the #FIXED attribe from the various elements?
Is there another reason for it?

> 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