Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

installed borland ws kit ...now old project gets errors HELP >>>>

843834May 29 2002 — edited May 29 2002
yesterday i had a working web app using cutom tags


today i installed borlands WEb services dev kit.......after wasting time trying to get a (very simple) web service to go....i went back to my web app to alter the security...before changing anything i tried to Rebuild my app and ........got the below error......

as i was writing this topic i tried to make the project and it worked ???
but then tried to rebuild and again got the error

please tell me what is happening

i could not find the validation option that the error speaks of ??





===============================================================
ERROR
===============================================================
set, which is probably not what is desired. Parser will use a default
ErrorHandler to print the first 10 errors. Please call
the 'setErrorHandler' method to fix this.
"Checkout.jsp": Error: URI=null Line=10: Element type "tlibversion" must be declared.
"Checkout.jsp": Error: URI=null Line=11: Element type "jspversion" must be declared.
"Checkout.jsp": Error: URI=null Line=12: Element type "shortname" must be declared.
"Checkout.jsp": Error: URI=null Line=14: Element type "info" must be declared.
"Checkout.jsp": Error: URI=null Line=20: Element type "tagclass" must be declared.
"Checkout.jsp": Error: URI=null Line=21: Element type "bodycontent" must be declared.
"Checkout.jsp": Error: URI=null Line=22: Element type "info" must be declared.
"Checkout.jsp": Error: URI=null Line=23: The content of element type "tag" must match "(name,tag-class,tei-class?,body-content?,display-name?,small-icon?,large-icon?,description?,variable*,attribute*,example?)".
"Checkout.jsp": Error: URI=null Line=32: Element type "tagclass" must be declared.
"Checkout.jsp": Error: URI=null Line=33: Element type "bodycontent" must be declared.


===============================================================

this is the start one of the jsps that cause the error

<%@ taglib uri="PetStoreTagLib" prefix="PetStore" %>

<HTML>
<HEAD>
<link rel="stylesheet" type="text/css" href="PetStore.css">
</HEAD>

the taglib ref refers to the following file:

<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE taglib
PUBLIC "-//Sun Microsystems, Inc.//
DTD JSP Tag Library 1.1//EN"
"http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd">


<!-- tag library descriptor -->
<taglib>
<tlibversion>1.0</tlibversion>
<jspversion>1.1</jspversion>
<shortname>PetStore</shortname>
<uri></uri>
<info>Tag Library for Java Pet Store</info>


<!-- _Menu List Tag descriptor no attribute-->
<tag>
<name>Menu</name>
<tagclass>TagLibrary._Menu</tagclass>
<bodycontent>empty</bodycontent>
<info>Generates Menu control</info>
</tag>






i never had this trouble with Visual studio.net
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 26 2002
Added on May 29 2002
2 comments
181 views