facebook

XHTML support in JSP

  1. MyEclipse IDE
  2.  > 
  3. Feature Requests
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #199320 Reply

    erayl
    Member

    All my current projects use XHTML 1.0 Strict coding practices. As such, it was disappointing that there is no support for this. Even if I change my DOCTYPE to XHTML, code completion does not change to accomodate it. For instance, I get code completion for break as <br> instead of <br />. Also, attributes that are illegal in XHTML Strict appear in code completion.

    Is there a request for XHTML support enhancement already?

    #199321 Reply

    Scott Anderson
    Participant

    Is there a request for XHTML support enhancement already?

    There wasn’t, but there is now. It’s a good idea and thanks for the feedback.

    –Scott
    MyEclipse Support

    #199322 Reply

    erayl
    Member

    Thanks. I’m very new to MyEclipse. Do I have access to MyEclipse source code? If so, where are the templates and code completion portions? I may not want to wait for an official release if the fix turns out to be simple.

    #199327 Reply

    Scott Anderson
    Participant

    Do I have access to MyEclipse source code? If so, where are the templates and code completion portions?

    Sorry, but MyEclipse is a commercial software product, not an open source project. As a result the source code is not available to the public.

    –Scott
    MyEclipse Support

    #211948 Reply

    Brice Ruth
    Member

    Along these lines, I wanted to submit that when using a DOCTYPE of XHTML 1.0 Transitional, the ‘xmlns’ and ‘xml:lang’ attributes of the <html> tag are marked in red by the JSP editor. Here’s the DOCTYPE declaration:

    <!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”&gt;

    and here’s’ the <html> opening tag:

    <html xmlns=”http://www.w3.org/1999/xhtml&#8221; xml:lang=”en” lang=”en”>

    This is against MyEclipse 3.8-beta2, running against Eclipse 3.0 (release), on WinXP SP2, with JDK1.4.2_03.

    #211952 Reply

    Riyad Kalla
    Member

    bdruth,
    I just tried your sample snippet with our new editor from a build this morning and it works fine, so hang tight, GA should be out this week if all goes well (no P1 issues).

    #211955 Reply

    Brice Ruth
    Member

    Excellent! Looking forward …

Viewing 7 posts - 1 through 7 (of 7 total)
Reply To: XHTML support in JSP

You must be logged in to post in the forum log in