Topic: 在.tld文件中出现如下错误

  Print this page

1.在.tld文件中出现如下错误 Copy to clipboard
Posted by: ziquan
Posted on: 2005-03-10 11:02

在我的.tld文件中
<?xml version="1.0" encoding="gb2312" ?>
<taglib xmlns="http://java.sun.com/xml/ns/j2ee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-jsptaglibrary_2_0.xsd"
version="2.0">
<tlib-version>1.0</tlib-version>
<jsp-version>1.2</jsp-version>
<short-name>function</short-name>

出现如下错误:
cvc-complex-type.2.4.a: Invalid content was found starting with element 'jsp-version'. One of '{"http://java.sun.com/xml/ns/j2ee":short-name}' is expected. functions.tld online/WebRoot/WEB-INF/lib line 7 2005年3月10日 9:48:38

差在哪里?谢谢


   Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent
Copyright © 2002-2021 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号-1
客服电话 18559299278    客服信箱 714923@qq.com    客服QQ 714923