File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JSP and the fly likes error in tld file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "error in tld file" Watch "error in tld file" New topic

error in tld file

Saranya Sivakumar

Joined: Aug 09, 2010
Posts: 13
privilager.tld file

<taglib xmlns=""

Error :

cvc-complex-type.2.4.b: The content of element 'tag' is not complete. One of '{"":tei-class, "
javaee":body-content}' is expected.

Please help me to solve this error.

Thanks in advance.

Stefan Evans

Joined: Jul 06, 2005
Posts: 1580
I don't see any problem with this file.
Neither does my Eclipse.
Your body-content tag is present, and in the right location. but the error message intimates that the computer can't find it.

Where do you get this message?
In an IDE?
While running?

Try re-writing the file from scratch in your editor. My guess would be something to do with file encoding/line endings.

I agree. Here's the link:
subject: error in tld file
It's not a secret anymore!