Could you file an issue with this please? It would be nice to make the dtd work better.
Martijn On 5/17/07, Timo Rantalaiho <[EMAIL PROTECTED]> wrote: > On Thu, 17 May 2007, Florian Hehlen wrote: > > the wicket documentation recommends that a namespace be declared in all > > xhtml pages like so: > > > > <html xmlns="http://www.w3.org/1999/xhtml" > > xmlns:wicket="http://wicket.sourceforge.net/" xml:lang="en" lang="en"> > > This is indeed weird, as there is no declaration at that URL. > > > But no xsd can be found there so my IDE highlights all wicket markup as > > invalid. Is there an actual resource available somewhere? I have noticed > > that there is a DTD in the doc/ dir of the distribution. Is this what > > should be used instead? > > I'm not sure of the location, but at least in the discontinued > 2.0 trunk there was a DTD that I used with success. > > I had to tweak it a bit though, in these bits > > <!ENTITY % HTMLlat1 PUBLIC> > "-//W3C//ENTITIES Latin 1 for XHTML//EN" > "xhtml-lat1.ent"> > %HTMLlat1; > > <!ENTITY % HTMLsymbol PUBLIC> > "-//W3C//ENTITIES Symbols for XHTML//EN" > "xhtml-symbol.ent"> > %HTMLsymbol; > > <!ENTITY % HTMLspecial PUBLIC> > "-//W3C//ENTITIES Special for XHTML//EN" > "xhtml-special.ent"> > %HTMLspecial; > > i prepended http://www.w3.org/TR/xhtml1/DTD/ in the front of > the filename. > > Maybe it would be useful to fix these directly in the > repository, if they are more or less correct :) > > > Then I just added wicket: attributes to custom attributes > with quick fix as I went and voilá! > > - Timo > > -- > Timo Rantalaiho +358-45-6709709 > Reaktor Innovations Oy <URL: http://www.ri.fi/ > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Wicket-user mailing list > Wicket-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wicket-user > -- Join the wicket community at irc.freenode.net: ##wicket Wicket 1.2.6 contains a very important fix. Download Wicket now! http://wicketframework.org ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user