- This topic has 6 replies, 3 voices, and was last updated 21 years, 7 months ago by bcholmes.
-
AuthorPosts
-
Cao XiaogangMemberIf I can get a ‘</HTML>’ after I type ‘<HTML>’ , life will be easier 🙂
Scott AndersonParticipantThank your for the feedback. I can see where this would both cut the editing time down and help ensure that the document remains well-formed. Nice idea.
Unfortunately, HTML isn’t always well-formed. Since HTML consists of tags and elements, a closing tag is either required, optional, or not existant. This makes adding this feature substantially more difficult than it is for an XML editor, for example.
So that your enhancement request will be considered for a future release, I’ve added it to our internal tracking system.
–Scott
MyEclipse Support
bcholmesMember@scott wrote:
Unfortunately, HTML isn’t always well-formed. Since HTML consists of tags and elements, a closing tag is either required, optional, or not existant.
<p>Thinking along those lines, it’d be nice if I had the option of telling the HTML editor that I wanted it to favour XHTML, which would make it well-formed. (At the very least, allowing me to specify that I like lower-case tags would make me very happy).
Scott AndersonParticipantThinking along those lines, it’d be nice if I had the option of telling the HTML editor that I wanted it to favour XHTML, which would make it well-formed.
True, that would make tag completion a bit easier.
(At the very least, allowing me to specify that I like lower-case tags would make me very happy).
I understand, but you do realize that according to the HTML spec that only uppercase tags are legal. 😉
bcholmesMember@scott wrote:
I understand, but you do realize that according to the HTML spec that only uppercase tags are legal. 😉
*blink*
Uh, that’s news to me.
Hurm. I jumped quickly over to w3.org to check out the specs. XHTML 1.0 makes a point of saying that tags are supposed to be in lower case ’cause XML is case-sensitive. This always seemed consistent with my belief that HTML was case insensitive.
Looking further, HTML 4.01 section 3 says that HTML is an SGML application and that in SGML elements and attributes are case-insensitive. What am I missing?
Scott AndersonParticipantOoops, I fear I may have caused you unintended distress with my comment. I was joking about upper case names being the only legal ones. Note the little :winky: at the end? It was a poor attempt at humor because our element completion defaults to uppercase.
I’ve entered your enhancement request to be able to select upper or lowercase element completions within the HTML and JSP editors.
Again, sorry for the confusion. As you noted your references are quite correct. I’ll try to leave the levity at home from now on. 🙂
–Scott
MyEclipse Support -
AuthorPosts