correct. -igor
On Wed, May 20, 2009 at 8:19 AM, Steve Swinsburg <[email protected]> wrote: > Or are you suggesting we replace the w3 dtd with the wicket one that > incorporates it? > > > cheers, > Steve > > > > On 20 May 2009, at 16:17, Steve Swinsburg wrote: > > So how do you include a DOCTYPE definition as well, since that has a DTD > associated with it. I just did some experimenting as I had my pages as the > wicket.sourceforge.net one previously: > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" > "http://www.w3.org/TR/html4/strict.dtd"> > <html > xmlns="http://www.w3.org/1999/xhtml" > xmlns:wicket="http://wicket.sourceforge.net/" > xml:lang="en" > lang="en"> > Which the browser interpreted to the same. > But updating to: > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" > "http://www.w3.org/TR/html4/strict.dtd"> > <html > xmlns="http://www.w3.org/1999/xhtml" > > xmlns:wicket="http://wicket.apache.org/dtds.data/wicket-xhtml1.3-strict.dtd" > > xml:lang="en" > lang="en"> > The browser rightly so strips out the extra DTD and renders it to: > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" > > "http://www.w3.org/TR/html4/strict.dtd"> > <html xml:lang="en" lang="en" xmlns="http://www.w3.org/1999/xhtml"> > > What is the full DTD and HTML namespace that needs to be at the top of > pages? > > cheers, > Steve > > > > On 20 May 2009, at 15:52, Igor Vaynberg wrote: > > Since you can only have one dtd we had to use the full HTML one a a base. > > -igor > > On Tuesday, May 19, 2009, Erik van Oosten <[email protected]> wrote: > > Hi, > > I recently updated the page > http://cwiki.apache.org/WICKET/wickets-xhtml-tags.html for the new DTDs. > However, now that I see that the DTD actually includes the whole xhtml spec > I am doubting whether I wrote the correct text. > > So my question for the xhtml guru's here is: what is the correct way to > include the DTD? > > Regards, > > Erik. > > > -- > > Erik van Oosten > > http://day-to-day-stuff.blogspot.com/ > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [email protected] > > For additional commands, e-mail: [email protected] > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
