My "BasePage.html" contains these lines in the beginning:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
<html xmlns:wicket="
http://wicket.apache.org/dtds.data/wicket-xhtml1.4-strict.dtd";>
<!-- some content here-->
</html>

while ALL the others simply:

<html xmlns:wicket="
http://wicket.apache.org/dtds.data/wicket-xhtml1.4-strict.dtd";>
<!-- content here -->
</html>

and eclipse wtp keeps quiet :)




Žilvinas Vilutis

Mobile:   (+370) 652 38353
E-mail:   [email protected]


On Mon, May 10, 2010 at 12:52 PM, Marzia Forli <[email protected]>wrote:

> Could someone more experienced with eclipse help me with configuring
> correctly the html documents to make eclipse happy and my documents valid,
> as I would like to use auto-completion, and later to parse them as xml...
> right now I am writing something like this:
> <?xml version="1.0" encoding="UTF-8"?>
> <!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.4-strict.dtd";>
>
> But eclipse complains on the 2. line about 'Undefined attribute name
> (xmlns)' and using auto-completion I have all tags in uppercase...
> Anybody have some small micro example ?
> Also, am I wrong or eclipse formatting of html document sucks big time ?
>
> Big thanks
>
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to