Validating .jspf files [message #172406] |
Mon, 26 June 2006 12:43  |
Eclipse User |
|
|
|
Originally posted by: dserodio.gmail.com
I have some JSP Fragments, with the .jspf extension. They're JSP
_fragments_ exactly because they're not complete pages, so why does WTP
try to validate them as if they were?
Thanks,
Daniel Serodio
|
|
|
|
|
|
Re: Validating .jspf files [message #172572 is a reply to message #172534] |
Tue, 27 June 2006 17:28  |
Eclipse User |
|
|
|
Originally posted by: dserodio.gmail.com
Nitin Dahyabhai wrote:
> Daniel Serodio wrote:
>> Nitin Dahyabhai wrote:
>>> Daniel Serodio wrote:
>>>> I have some JSP Fragments, with the .jspf extension. They're JSP
>>>> _fragments_ exactly because they're not complete pages, so why does WTP
>>>> try to validate them as if they were?
>>> It's a simple oversight that is corrected in WTP 1.5. You can enable or
>>> disable fragment validation from the new JSP Fragment settings property
>>> page
>>> ( http://www.eclipse.org/webtools/wst/components/sse/designs/c ontentsettings/wtp15m5-jspfragment.jpg).
>>>
>>
>> This setting didn't work for me. I have a "footer.jspf" file containing
>> only "</body></html>", and it still generates 2 errors and 1 warning:
>>
>> ERROR: No Start tag (<body>).
>> ERROR: No Start tag (<htm>).
>> WARNING: Invalid location of tag (body).
>
> Ah, turns out that checkbox only affects validating Java code within the
> file. Bug 87351 was recently reopened to address this.
>
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=87351
Yeah, that's it. Thanks for the pointer.
Daniel Serodio
|
|
|
Powered by
FUDForum. Page generated in 0.04134 seconds