Tags 自定义JSP标记问题

Tags 自定义JSP标记问题,tags,jstl,jsp-tags,Tags,Jstl,Jsp Tags,我得到一些不寻常的例外如下 Sep 26, 2012 12:09:50 PM org.apache.catalina.core.StandardWrapperValve invoke SEVERE: Servlet.service() for servlet jsp threw exception org.apache.jasper.JasperException: <h3>Validation error messages from TagLibraryValidator for

我得到一些不寻常的例外如下

Sep 26, 2012 12:09:50 PM org.apache.catalina.core.StandardWrapperValve invoke
SEVERE: Servlet.service() for servlet jsp threw exception
org.apache.jasper.JasperException: <h3>Validation error messages from TagLibraryValidator for c in /Test.jsp</h3><p>null: org.xml.sax.SAXParseException: Element or attribute do not match QName production: QName::=(NCName':')?NCName.</p><h3>Validation error messages from TagLibraryValidator for sql in /Test.jsp</h3><p>null: org.xml.sax.SAXParseException: Element or attribute do not match QName production: QName::=(NCName':')?NCName.</p><h3>Validation error messages from TagLibraryValidator for x in /Test.jsp</h3><p>null: org.xml.sax.SAXParseException: Element or attribute do not match QName production: QName::=(NCName':')?NCName.</p><h3>Validation error messages from TagLibraryValidator for fmt in /Test.jsp</h3><p>null: org.xml.sax.SAXParseException: Element or attribute do not match QName production: QName::=(NCName':')?NCName.</p>
2012年9月26日12:09:50 PM org.apache.catalina.core.StandardWrapper
严重:Servlet jsp的Servlet.service()引发异常
org.apache.jasper.jaspereException:来自TagLibraryValidator for c in/Test.jspnull:org.xml.sax.SAXParseException:元素或属性与QName产品不匹配:QName:=(NCName':'))?NCName.

在/Test.jsp中来自TagLibraryValidator for sql的验证错误消息null:org.xml.sax.SAXParseException:元素或属性与QName不匹配生产:QName:=(NCName':'))?NCName.

来自TagLibraryValidator for x的验证错误消息在/Test.jspnull:org.xml.sax.SAXParseException:元素或属性与QName不匹配生产:QName:=(NCName':'))?NCName。

来自/Test.jsp中fmt的TagLibraryValidator的验证错误消息null:org.xml.sax.SAXParseException:元素或属性与QName产品不匹配:QName:=(NCName':')?NCName

实际上,我已经实现了一个自定义标记

当我使用taglib使用自定义标记时,它工作得很好

<%@taglib prefix="path" uri="PathGenerator"%>

但当我开始将它与其他JSTL标记库一起使用时。它将生成上述异常

<%@ taglib uri='http://java.sun.com/jsp/jstl/core' prefix='c'%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ taglib prefix="sql" uri="http://java.sun.com/jsp/jstl/sql"%>
<%@ taglib prefix="x" uri="http://java.sun.com/jsp/jstl/xml" %>
<%@ taglib prefix="json" uri="http://www.atg.com/taglibs/json" %>
<%@taglib prefix="path" uri="PathGenerator"%>

谁能帮帮我吗