facebook

MyEclipse JSP compile complaining about XML markup.

  1. MyEclipse IDE
  2.  > 
  3. General Development
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #199967 Reply

    jfinch
    Member

    – Windows XP Pro SP1
    – Eclipse 2.1.1 Build 200306271545
    – Was Eclipse freshly installed for MyEclipse? No.
    – Are any other external plugins installed? JUnit.
    – How many plugins in the <eclipse>/plugins directory are like org.eclipse.pde.* Eight
    – MyEclipse version 2.6.3
    – Java Version 1.4.1_05-b01
    – Tomcat 4.1.27
    ———————————————————————–

    Hi
    We are writing our JSPs for deployment under a Plumtree portal environment. Plumtree provides markup tags that perform server-side execution, similar to that provided by custom JSP tags. However, this markup appears to be a proprietary implementation and Plumtree inform us that there are no TLD or other descriptors. They are not built using the JSP custom tag framework.

    When we try to (pre)compile our JSPs under MyEclipse, it sees the markup tags and complains “unknown user tag”. However, it does not seem to be a requirement of the J2EE specification that all arbitrary markup be assumed to be JSP custom tags. And for example, when we deploy under Tomcat it does not complain that it does not understand the markup, but seemingly ignores it (where it is subsequently parsed by the Plumtree server).

    An example of one of the ‘tags’ follows:

    <pt:styleSheets xmlns:pt=’http://www.plumtree.com/xmlschemas/ptui/’/&gt;

    Essentially I need to know how to force MyEclipse to ignore this markup and not erroneously assume it to refer to a JSP custom tag implementation that would require the presence of a TLD.

    Regards,
    -James

    #199980 Reply

    support-michael
    Keymaster

    This may be a MyEclipse bug. For the short term you can disable JSP validation to avoid nagging false negative error markers on your files. I’m researching this now and will let you know what we determine. Also, can you send me an example JSP file for our test suite, send to support@genuitec.com?

    Regards,

    Michael
    MyEclipse Support

    #199995 Reply

    jfinch
    Member

    Incoming..

    #200007 Reply

    support-michael
    Keymaster

    Received. Thanks.

    Michael

    #200620 Reply

    jfinch
    Member

    *bump*

    What’s the status on this ticket?

    Thanks.

    #200621 Reply

    Scott Anderson
    Participant

    James,

    It looks like the next version of our JSP editor / compiler (2.7) should silently ignore tags such as these. I saw the enhancement request come by as closed yesterday. 2.7 should be out tomorrow.

    –Scott
    MyEclipse Support

    #200626 Reply

    jfinch
    Member

    Excellent, thank you!

    -James

Viewing 7 posts - 1 through 7 (of 7 total)
Reply To: MyEclipse JSP compile complaining about XML markup.

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