Skip to main content



      Home
Home » Language IDEs » ServerTools (WTP) » WST html capitalization of tags
WST html capitalization of tags [message #102865] Wed, 11 May 2005 23:46 Go to next message
Eclipse UserFriend
The WST parsing is ignoring my DOCTYPE. I've specified that its xhtml 1.1,
and yet it still is saying that <html> is not properly capitalized. Under
the W3C spec, tags are case sensitive, and most (if not all) are lowercase.

Where can I change it to make them lowercase so it doesn't mark all my
code as incorrect?
Re: WST html capitalization of tags [message #103043 is a reply to message #102865] Thu, 12 May 2005 10:11 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: pavery.us.ibm.com

Ron Adams wrote:
> The WST parsing is ignoring my DOCTYPE. I've specified that its xhtml
> 1.1, and yet it still is saying that <html> is not properly capitalized.
> Under the W3C spec, tags are case sensitive, and most (if not all) are
> lowercase.
>

This sounds strange. I'm unclear on what you mean by "ignoring your
DOCTYPE"... In xhtml the tags should be lowercase right? So uppercase
tags should be marked as errors.
Is your <html> tag lowercase, and you still get an error message?
What does your doctype tag look like?
Does the error appear in the problems view, or only as a "squiggle" in
the editor?
What's the error message?

> Where can I change it to make them lowercase so it doesn't mark all my
> code as incorrect?
>

The preference for this is under "window > preferences > web and xml >
html files > html source" Then you can change the case of the tags in
your document with the cleanup feature (from the context menu or
ctrl+shift+L)

thanks,
-phil
Re: WST html capitalization of tags [message #103100 is a reply to message #103043] Thu, 12 May 2005 11:02 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: amywu.us.DELETETHISPART.ibm.com

Perhaps the problem you are seeing is:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=88896

Though according to the bug report, that should have been fixed M4.


"phil avery" <pavery@us.ibm.com> wrote in message
news:d5vom0$8le$1@news.eclipse.org...
> Ron Adams wrote:
> > The WST parsing is ignoring my DOCTYPE. I've specified that its xhtml
> > 1.1, and yet it still is saying that <html> is not properly capitalized.
> > Under the W3C spec, tags are case sensitive, and most (if not all) are
> > lowercase.
> >
>
> This sounds strange. I'm unclear on what you mean by "ignoring your
> DOCTYPE"... In xhtml the tags should be lowercase right? So uppercase
> tags should be marked as errors.
> Is your <html> tag lowercase, and you still get an error message?
> What does your doctype tag look like?
> Does the error appear in the problems view, or only as a "squiggle" in
> the editor?
> What's the error message?
>
> > Where can I change it to make them lowercase so it doesn't mark all my
> > code as incorrect?
> >
>
> The preference for this is under "window > preferences > web and xml >
> html files > html source" Then you can change the case of the tags in
> your document with the cleanup feature (from the context menu or
> ctrl+shift+L)
>
> thanks,
> -phil
Re: WST html capitalization of tags [message #103240 is a reply to message #103043] Thu, 12 May 2005 22:36 Go to previous messageGo to next message
Eclipse UserFriend
"This sounds strange. I'm unclear on what you mean by "ignoring your
DOCTYPE"... In xhtml the tags should be lowercase right? So uppercase
tags should be marked as errors."

My tags are all lowercase. Its marking the uppercase tags as errors.
Here is a screenshot.

http://img182.echo.cx/img182/623/eclipsewsterror8sb.png
Re: WST html capitalization of tags [message #103245 is a reply to message #103100] Thu, 12 May 2005 22:42 Go to previous messageGo to next message
Eclipse UserFriend
Thanks Amy, yet again, you rock.
Re: WST html capitalization of tags [message #103603 is a reply to message #103245] Fri, 13 May 2005 11:51 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: amywu.us.DELETETHISPART.ibm.com

No, you rock for using the html editor :)

So were you using a pre-M4 build? Because if this still exists in M4,
please reopen the bug.

"Ron Adams" <eclip5e@ccs.neu.edu> wrote in message
news:9b3574326fd763c947dfe0b7550aced9$1@www.eclipse.org...
> Thanks Amy, yet again, you rock.
>
Re: WST html capitalization of tags [message #103750 is a reply to message #103603] Fri, 13 May 2005 21:02 Go to previous message
Eclipse UserFriend
I got M4 last night, and it worked flawlessly.
Previous Topic:EL Support
Next Topic:WEB application project import
Goto Forum:
  


Current Time: Thu Jul 17 12:06:49 EDT 2025

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

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

Back to the top