in servlet2.3 specification it's said taglib-uri is "The taglib-uri element describes a URI, relative to the location of the web.xml document, identifying a Tag Library used in the Web Application
".
in book SCWCD Exam Study kit,it's said taglib-uri is "This is the user-defined URI. Its value can be an absolute URI, a root-relative URI, or a non-root relative URI." and I test this in below and it correct.
web.xml
<taglib>
<taglib-uri>
http://www.google.com</taglib-uri>
<taglib-location>/WEB-INF/test.tld<taglib-location/>
<taglib>
test.jsp
<%@taglib uri="http://www.google.com" prefix="test"%>
then i can use the <test:XXX>... custom tag.
the taglib-uri is not relative to the location of the web.xml document,is this meaning the servlet2.3 specification is error ?