jakarta-watchdog-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kjeld Froberg <...@trifork.com>
Subject Error in Watchdog JSP in XML tests
Date Wed, 26 Jun 2002 09:01:12 GMT
Hi

According to the JSP specification version 1.2 section 5.3.5.
I can see that there is error in several JSP tests, written in XML,
using taglibraries.

The specification says that a taglib directive is translated into a xml
namespace (xmlns:prefix).
And that if the taglib uri is a relative path then the value used is
"urn:jsptld:whateveruri" (ex:
xmlns:direct="urn:jsptld:/WEB-INF/tlds/example-taglib.tld") otherwise
the urivalue is used directly

In the example below, taken from positiveDirectTldReference.jsp int the
watchdog tests, the uri IS a relative value, and the according to the
specification it must have "urn:jsptld:" prefixed.

<jsp:root
xmlns:jsp="http://java.sun.com/JSP/Page" version="1.2"
xmlns:direct="/WEB-INF/tlds/example-taglib.tld"
>

Do you agree with me?

Kjeld Froberg
Software Engineer
mailto:kfr@trifork.com
http:\\www.trifork.com

--
To unsubscribe, e-mail:   <mailto:watchdog-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:watchdog-dev-help@jakarta.apache.org>


Mime
View raw message