You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Timo Rantalaiho (JIRA)" <ji...@apache.org> on 2008/02/22 05:42:22 UTC

[jira] Issue Comment Edited: (WICKET-693) What to do with the wicket dtd?

    [ https://issues.apache.org/jira/browse/WICKET-693?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12515957#action_12515957 ] 

thrantal edited comment on WICKET-693 at 2/21/08 8:41 PM:
-----------------------------------------------------------------

Maybe this is not the ideal solution, but I have found using this

  http://svn.apache.org/repos/asf/wicket/trunk/jdk-1.4/wicket/wicket-xhtml1-strict.dtd

like that 

  <html xmlns="http://www.w3.org/1999/xhtml" xmlns:wicket="wicket-xhtml1-strict.dtd" xml:lang="en" lang="en">

in the HTML files good enough. I'm not sure if it's any different from the default version from W3C though.

Then I have just registered the wicket-specific things as custom elements and attributes in the HTML editor of my IDE (IDEA). You only need to do it once per element / attribute anyway. Of course it would be nice if they could come directly from the DTD.

      was (Author: thrantal):
    Maybe this is not the ideal solution, but I have found using this

  http://svn.apache.org/repos/asf/incubator/wicket/trunk/jdk-1.4/wicket/wicket-xhtml1-strict.dtd

like that 

  <html xmlns="http://www.w3.org/1999/xhtml" xmlns:wicket="wicket-xhtml1-strict.dtd" xml:lang="en" lang="en">

in the HTML files good enough. I'm not sure if it's any different from the default version from W3C though.

Then I have just registered the wicket-specific things as custom elements and attributes in the HTML editor of my IDE (IDEA). You only need to do it once per element / attribute anyway. Of course it would be nice if they could come directly from the DTD.
  
> What to do with the wicket dtd?
> -------------------------------
>
>                 Key: WICKET-693
>                 URL: https://issues.apache.org/jira/browse/WICKET-693
>             Project: Wicket
>          Issue Type: Bug
>          Components: site, wicket
>            Reporter: Martijn Dashorst
>             Fix For: 1.4-M1
>
>
> The current dtd is located at the wicket.sf.net site, and may not even work. 
> We need to come up with a solution for the wicket dtd and fix this for the future:
> ./jdk-1.4/wicket/src/site/resources/DTD/wicket-1.0-xhtml11.dtd: SYSTEM "http://wicket.sourceforge.net/DTD/wicket-xhtml1.dtd"

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