jdharsha
asked on
The content of element type........WSAD
Hello experts,
I am new to webapp development and also new to WSAD where I have encountered with the following error when I switch to tasks tab....infact I played with this tool and I do not know what exactly has happened.
The content of element type "application" is incomplete, it must match "(icon?,display-name,descr iption?,mo dule+,secu rity-role* )". application.xml DefaultEAR/META-INF line 5
Any help or further clarification would be glad to hear.hope this should not be tough question.
Thanks,
Harsha.
I am new to webapp development and also new to WSAD where I have encountered with the following error when I switch to tasks tab....infact I played with this tool and I do not know what exactly has happened.
The content of element type "application" is incomplete, it must match "(icon?,display-name,descr
Any help or further clarification would be glad to hear.hope this should not be tough question.
Thanks,
Harsha.
Post the existing XML file and the complete error here.
________
radarsh
________
radarsh
ASKER
Hello radarsh,
I have created in J2EE1.3 and how do I get access to the application.xml file.
Harsha.
I have created in J2EE1.3 and how do I get access to the application.xml file.
Harsha.
ASKER
Hello radarsh,
Is thi swhat u asked for.
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE application PUBLIC "-//Sun Microsystems, Inc.//DTD J2EE Application 1.3//EN" "http://java.sun.com/dtd/application_1_3.dtd">
<application id="Application_ID">
<display-name>DefaultEAR</ display-na me>
</application>
and the complete error is as follows.........
The content of element type "application" is incomplete, it must match "(icon?,display-name,descr iption?,mo dule+,secu rity-role* )". application.xml DefaultEAR/META-INF line 5
Thanks,
Harsha.
Is thi swhat u asked for.
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE application PUBLIC "-//Sun Microsystems, Inc.//DTD J2EE Application 1.3//EN" "http://java.sun.com/dtd/application_1_3.dtd">
<application id="Application_ID">
<display-name>DefaultEAR</
</application>
and the complete error is as follows.........
The content of element type "application" is incomplete, it must match "(icon?,display-name,descr
Thanks,
Harsha.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Hello siriki77,
That was very clear.Anyway I need some clarification, can I just go with the doctype declaration i.e. without the application tag as follows?
for example if I do not have any modules for the time being....
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE application PUBLIC "-//Sun Microsystems, Inc.//DTD J2EE Application 1.3//EN" "http://java.sun.com/dtd/application_1_3.dtd">
That was very clear.Anyway I need some clarification, can I just go with the doctype declaration i.e. without the application tag as follows?
for example if I do not have any modules for the time being....
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE application PUBLIC "-//Sun Microsystems, Inc.//DTD J2EE Application 1.3//EN" "http://java.sun.com/dtd/application_1_3.dtd">
Which version of J2EE Project did you create? It is just telling you that your application.xml
file is not valid. It is not validating. You should reorder some tags.
________
radarsh