MyEclipse Forums
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
duckbill
Post subject: Tag (jsp:directive.XXX) should be an empty-element tag  PostPosted: Dec 25, 2008 - 10:39 PM
Registered Member
Registered Member


Joined: Jul 10, 2008
Posts: 13

Since I updated to 7.0, I've been getting "Tag (jsp:directive.XXX) should be an empty-element tag" JSP problems for e.g.

<%@ include file="/WEB-INF/jsp/common.jspf" %>
<%@ page import="foo.package.Bar" %>

How do I get rid of these (irrelevant?) warnings?
 
 View user's profile Send private message  
Reply with quote Back to top
support-nipun
Post subject: RE: Tag (jsp:directive.XXX) should be an empty-element tag  PostPosted: Dec 29, 2008 - 02:26 PM
Registered Member
Registered Member


Joined: Apr 18, 2007
Posts: 8010

Can you paste a sample file here for me that will help me reproduce this issue.

Also, can you go to MyEclipse > Installation Summary > Installation Details and paste the information here for me.

_________________
Nipun
MyEclipse Support
 
 View user's profile Send private message Send e-mail  
Reply with quote Back to top
cristian.lopez
Post subject: I have the same problem  PostPosted: Jan 13, 2009 - 08:44 PM



Joined: Jan 13, 2009
Posts: 1

*** Date:
martes 13 de enero de 2009 05:47:31 PM CLST

** System properties:
OS=WindowsXP
OS version=5.1.0
Java version=1.5.0_11


*** MyEclipse details:
MyEclipse Enterprise Workbench
Version: 7.0
Build id: 7.0-20081201


*** Eclipse details:
MyEclipse Enterprise Workbench

Version: 7.0
Build id: 7.0-20081201




Eclipse Platform

Version: 3.4.1.r341_v20080731-9I96EiDElYevwz-p1bP5z-NlAaP7vtX6Utotqsu
Build id: M20080911-1700


Eclipse Java Development Tools

Version: 3.4.1.r341_v20080709-0800-7o7tEAfEF_U5qyUgrb2HAp539P97
Build id: M20080709-0800


Eclipse Graphical Editing Framework GEF

Version: 3.4.1.v20080806-67718083A56B4H2A3213573
Build id: 200809101400


Eclipse RCP

Version: 3.4.100.r341_v20080814-989JESIEdAciFYfkZZsBfSwQ2341
Build id: M20080703-0800


Eclipse Plug-in Development Environment

Version: 3.4.1.r341_v20080731-7T7U0E9mlRIuGUYviF_VP
Build id: M20080703-0800




Eclipse startup command=-os
win32
-ws
win32
-arch
x86
-showsplash
-launcher
C:\Program Files\Genuitec\MyEclipse 7.0\myeclipse.exe
-name
Myeclipse
--launcher.library
C:\Program Files\Genuitec\MyEclipse 7.0\../Common\plugins\org.eclipse.equinox.launcher.win32.win32.x86_1.0.101.R34x_v20080731\eclipse_1115.dll
-startup
C:\Program Files\Genuitec\MyEclipse 7.0\../Common\plugins\org.eclipse.equinox.launcher_1.0.101.R34x_v20080819.jar
-clean
-configuration
C:\Program Files\Genuitec\MyEclipse 7.0\configuration
-vm
C:\Program Files\Genuitec\Common\binary\com.sun.java.jre.win32.x86_1.5.0.011\bin\client\jvm.dll
 
 View user's profile Send private message  
Reply with quote Back to top
support-nipun
Post subject: RE: I have the same problem  PostPosted: Jan 14, 2009 - 06:47 PM
Registered Member
Registered Member


Joined: Apr 18, 2007
Posts: 8010

cristian.lopez,
Can you paste a sample file here for me and tell me what editor you were working with.

_________________
Nipun
MyEclipse Support
 
 View user's profile Send private message Send e-mail  
Reply with quote Back to top
duckbill
Post subject:   PostPosted: Jan 20, 2009 - 03:56 PM
Registered Member
Registered Member


Joined: Jul 10, 2008
Posts: 13

Sorry for the delay.

First, the file to be included (common.jspf).

<%@ taglib prefix="core" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="base" uri="http://www.springframework.org/tags" %>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<%@ taglib prefix="display" uri="http://displaytag.sf.net" %>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>

And then a sample file including the above file (index.jsp).

<?xml version="1.0" encoding="UTF-8"?>
<%@ include file="common.jspf" %>
<%@ page import="java.util.ArrayList" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Test</title>
</head>
<body>
<%-- Content here --%>
</body>
</html>

Please note that the @page import tag as above is also giving me a similar warning.
 
 View user's profile Send private message  
Reply with quote Back to top
duckbill
Post subject:   PostPosted: Jan 20, 2009 - 03:58 PM
Registered Member
Registered Member


Joined: Jul 10, 2008
Posts: 13

And here's the installation summary, finnish locale:

*** Date:
20. tammikuuta 2009 17:58:15 EET

** System properties:
OS=WindowsXP
OS version=5.1.0
Java version=1.5.0_11


*** MyEclipse details:
MyEclipse Enterprise Workbench
Version: 7.0
Build id: 7.0-20081201


*** Eclipse details:
MyEclipse Enterprise Workbench

Version: 7.0
Build id: 7.0-20081201




Eclipse Platform

Version: 3.4.1.r341_v20080731-9I96EiDElYevwz-p1bP5z-NlAaP7vtX6Utotqsu
Build id: M20080911-1700


Eclipse Java Development Tools

Version: 3.4.1.r341_v20080709-0800-7o7tEAfEF_U5qyUgrb2HAp539P97
Build id: M20080709-0800


Eclipse Graphical Editing Framework GEF

Version: 3.4.1.v20080806-67718083A56B4H2A3213573
Build id: 200809101400


Eclipse RCP

Version: 3.4.100.r341_v20080814-989JESIEdAciFYfkZZsBfSwQ2341
Build id: M20080703-0800


Eclipse Plug-in Development Environment

Version: 3.4.1.r341_v20080731-7T7U0E9mlRIuGUYviF_VP
Build id: M20080703-0800




Eclipse startup command=-os
win32
-ws
win32
-arch
x86
-showsplash
-launcher
C:\genuitec\myeclipse\myeclipse.exe
-name
Myeclipse
--launcher.library
C:\genuitec\myeclipse\../common\plugins\org.eclipse.equinox.launcher.win32.win32.x86_1.0.101.R34x_v20080731\eclipse_1115.dll
-startup
C:\genuitec\myeclipse\../common\plugins\org.eclipse.equinox.launcher_1.0.101.R34x_v20080819.jar
-clean
-configuration
configuration
-vm
C:\genuitec\common\binary\com.sun.java.jre.win32.x86_1.5.0.011\bin\client\jvm.dll
 
 View user's profile Send private message  
Reply with quote Back to top
support-eugene
Post subject:   PostPosted: Jan 22, 2009 - 07:27 PM
Registered Member
Registered Member


Joined: May 12, 2005
Posts: 472

Unfortunately we haven't found this problem during our QA. It does not look like you can remove those errors other then by disabling JSP validation. I will file a bug to a bugtracker.

_________________
Eugene
MyEclipse Support
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
support-eugene
Post subject: Re: Tag (jsp:directive.XXX) should be an empty-element tag  PostPosted: Jan 22, 2009 - 07:29 PM
Registered Member
Registered Member


Joined: May 12, 2005
Posts: 472

duckbill wrote:
Since I updated to 7.0, I've been getting "Tag (jsp:directive.XXX) should be an empty-element tag" JSP problems for e.g.

<%@ include file="/WEB-INF/jsp/common.jspf" %>
<%@ page import="foo.package.Bar" %>

How do I get rid of these (irrelevant?) warnings?


Unfortunately we found this issue after MyEclipse was shipped. It will be fixed in subsequent releases.

_________________
Eugene
MyEclipse Support
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
duckbill
Post subject:   PostPosted: Jan 22, 2009 - 07:38 PM
Registered Member
Registered Member


Joined: Jul 10, 2008
Posts: 13

Right. Thanks for your response.
 
 View user's profile Send private message  
Reply with quote Back to top
support-nipun
Post subject:   PostPosted: Jan 23, 2009 - 06:10 PM
Registered Member
Registered Member


Joined: Apr 18, 2007
Posts: 8010

Your welcome.

_________________
Nipun
MyEclipse Support
 
 View user's profile Send private message Send e-mail  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 6 Hours
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2004 The PNphpBB Group
Credits