Johannes Schneider-3 wrote: > > Hi, > > I am new to Wicket and want to use XHTML and validate the files. I use > IntelliJ Idea but I could not succeed in validating. I run into two > problems: > - I did not find any "wicket.xsd"? I just found a DTD, but I don't know > how I should use it. >
I use this header: <html xmlns="http://www.w3.org/1999/xhtml" xmlns:wicket="http://wicket.sourceforge.net"> where "http://wicket.sourceforge.net" is mapped to hand written xsd with wicket tags. Something like: <xs:schema... <xs:element name="child"> <xs:complexType> <xs:choice> <xs:any/> </xs:choice> </xs:complexType> </xs:element> ... </xs:schema> And wicket:id is added to custom html tags. ps I tried to use DTD that comes with wicket, but it seems it's not enough for IDEA -- View this message in context: http://www.nabble.com/XSD---Validation-tf3488923.html#a9830979 Sent from the Wicket - User mailing list archive at Nabble.com. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user