facebook

JSP Tag Files Validation errors

  1. MyEclipse IDE
  2.  > 
  3. Java EE Development (EJB, JSP, Struts, XDoclet, etc.)
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #302301 Reply

    When I create a simple tag file I am getting validation errors (Unknown tag) on all the standard html tags like div and span.

    /WEB-INF/tags/footer.tag:

    
    <%@ tag body-content="empty" %>
    <div id="footer">
    <span id="copyright">© 2009 MyCompany</span>
    </div>
    

    I can use the custom tag just fine:

    
    <%@ taglib prefix="my" tagdir="/WEB-INF/tags" %>
    <my:footer/>
    

    Here are the errors:

    
    Description    Resource    Path    Location    Type
    Invalid character used in text string (© 2009 MyCompany).    footer.tag    XXX/webroot/WEB-INF/tags    line 3    JSP Problem
    Unknown tag (div).    footer.tag    XXX/webroot/WEB-INF/tags    line 2    JSP Problem
    Unknown tag (div).    footer.tag    XXX/webroot/WEB-INF/tags    line 4    JSP Problem
    Unknown tag (span).    footer.tag    XXX/webroot/WEB-INF/tags    line 3    JSP Problem
    Unknown tag (span).    footer.tag    XXX/webroot/WEB-INF/tags    line 3    JSP Problem
    

    How do I fix these validation errors?

    #302324 Reply

    support-joy
    Member

    glindholm,

    Can you give me some more information to investigate:

    1) Can you copy and paste your installation detail? To do that open MyEclipse IDE, from the menu options click on MyEclipse > Installation Summary > Installation Details.
    2) Can you send your log file? You can get it from [your workspace dir]/.metadata/.log
    3) What type of application is it?
    4) Can you tell me the steps to reproduce the issue?
    5) For us to investigate with your issue from our end
    a) if possible try to send your project
    or
    b) create a sample project which replicates your issue.

    You can send all the above mentioned documents to support@genuitec.com. Please add ATTN: JOY in the subject and refer to this thread.

    #302356 Reply

    Joy,

    3) It’s a java jsp web servlet web application
    4) Just create the tag file under /WEB-INF/tags
    5) I’ve added the sample /WEB-INF/tags/footer.tag file to a very small demo project and I get the same errors so I will send you this complete project. (xpldemo)

    I’ve sent you a zip of all you asked for.

    Greg

    #302376 Reply

    Greg,
    Thank you for the files. I shall get back to you soon

    #302506 Reply

    Greg,
    I have raised a PR with the dev team

    #317224 Reply

    phk1105
    Participant

    Was this ever resolved?

    #317233 Reply

    support-swapna
    Moderator

    phk1105,

    You can see the fix for this issue in MyEclipse 9.0.1.

Viewing 7 posts - 1 through 7 (of 7 total)
Reply To: JSP Tag Files Validation errors

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