Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » PHP Development Tools (PDT) » HTML5 validator
HTML5 validator [message #638662] Fri, 12 November 2010 02:31 Go to next message
Marko Karjalainen is currently offline Marko KarjalainenFriend
Messages: 30
Registered: July 2009
Member
I installed new eclipse indigo and latest pdt from hudson. It seems to use HTML5 doctype for html validation.
There is so many warnings and can't filter them out manually(Ignore option in preferences is not option for this case).

Is there any settings to use HTML 4.01 for validation?

If no please add support to it, so user can select default doctype for validation.
Re: HTML5 validator [message #638861 is a reply to message #638662] Fri, 12 November 2010 19:16 Go to previous messageGo to next message
Nitin Dahyabhai is currently offline Nitin DahyabhaiFriend
Messages: 4435
Registered: July 2009
Senior Member

On 11/11/2010 9:31 PM, Marko Karjalainen wrote:
> I installed new eclipse indigo and latest pdt from hudson. It seems to
> use HTML5 doctype for html validation.
> There is so many warnings and can't filter them out manually(Ignore
> option in preferences is not option for this case).
>
> Is there any settings to use HTML 4.01 for validation?
>
> If no please add support to it, so user can select default doctype for
> validation.

This should only happen if your HTML files don't specify a DOCTYPE. The
default in that case can be controlled from the Web Content Settings
page in the project's Properties dialog.

--
Nitin Dahyabhai
Eclipse WTP Source Editing and JSDT
IBM Rational


_
Nitin Dahyabhai
Eclipse Web Tools Platform
Re: HTML5 validator [message #638904 is a reply to message #638861] Sat, 13 November 2010 03:29 Go to previous messageGo to next message
Marko Karjalainen is currently offline Marko KarjalainenFriend
Messages: 30
Registered: July 2009
Member
Thanks for reply,

My files are *.php and *.inc and those don't have DOCTYPE declarations.

I don't have "Web Content Settings" page on project properties, like on this link.
http://www.eclipse.org/webtools/wst/components/sse/designs/W ebContentSettings.html

Maybe i have to install something more, is it working for PHP if i install J2EE?


Web Developer Tools version is 3.3.0.v201008062100 in eclipse 3.7M3

On 12.11.2010 21:16, Nitin Dahyabhai wrote:
> On 11/11/2010 9:31 PM, Marko Karjalainen wrote:
>> I installed new eclipse indigo and latest pdt from hudson. It seems to
>> use HTML5 doctype for html validation.
>> There is so many warnings and can't filter them out manually(Ignore
>> option in preferences is not option for this case).
>>
>> Is there any settings to use HTML 4.01 for validation?
>>
>> If no please add support to it, so user can select default doctype for
>> validation.
>
> This should only happen if your HTML files don't specify a DOCTYPE. The default in that case can be controlled from the
> Web Content Settings page in the project's Properties dialog.
>
Re: HTML5 validator [message #639050 is a reply to message #638904] Mon, 15 November 2010 06:10 Go to previous message
Marko Karjalainen is currently offline Marko KarjalainenFriend
Messages: 30
Registered: July 2009
Member
Note,

I added manually this row "document-type/<project>=-//W3C//DTD XHTML 1.0 Transitional//EN"
to org.eclipse.wst.html.core.prefs file and reimported my PHP-projects
Now it's validating better for me.

On 13.11.2010 5:29, Marko Karjalainen wrote:
> Thanks for reply,
>
> My files are *.php and *.inc and those don't have DOCTYPE declarations.
>
> I don't have "Web Content Settings" page on project properties, like on this link.
> http://www.eclipse.org/webtools/wst/components/sse/designs/W ebContentSettings.html
>
> Maybe i have to install something more, is it working for PHP if i install J2EE?
>
>
> Web Developer Tools version is 3.3.0.v201008062100 in eclipse 3.7M3
>
> On 12.11.2010 21:16, Nitin Dahyabhai wrote:
>> On 11/11/2010 9:31 PM, Marko Karjalainen wrote:
>>> I installed new eclipse indigo and latest pdt from hudson. It seems to
>>> use HTML5 doctype for html validation.
>>> There is so many warnings and can't filter them out manually(Ignore
>>> option in preferences is not option for this case).
>>>
>>> Is there any settings to use HTML 4.01 for validation?
>>>
>>> If no please add support to it, so user can select default doctype for
>>> validation.
>>
>> This should only happen if your HTML files don't specify a DOCTYPE. The default in that case can be controlled from the
>> Web Content Settings page in the project's Properties dialog.
>>
>
Previous Topic:debug a local ssl site with eclipse PDT
Next Topic:RCP & Java with XML Editing feature
Goto Forum:
  


Current Time: Fri Apr 26 16:32:10 GMT 2024

Powered by FUDForum. Page generated in 0.02949 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top