You are viewing a plain text version of this content. The canonical link for it is here.
Posted to watchdog-dev@jakarta.apache.org by Kjeld Froberg <kf...@trifork.com> on 2002/06/26 11:01:12 UTC
Error in Watchdog JSP in XML tests
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: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: Error in Watchdog JSP in XML tests
Posted by Ryan Lubke <Ry...@Sun.COM>.
Issue has been corrected.
Thanks for pointing it out.
-rl
On Wed, 2002-06-26 at 04:01, Kjeld Froberg wrote:
> 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: <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>
>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: Error in Watchdog JSP in XML tests
Posted by Ryan Lubke <Ry...@Sun.COM>.
I agree. Use the examples on page 92 of the 1.2 spec.
Please open a bug on this: http://nagoya.apache.org
Thanks,
-rl
On Wed, 2002-06-26 at 04:01, Kjeld Froberg wrote:
> 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: <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>
>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
FW: Error in Watchdog JSP in XML tests
Posted by Pier Fumagalli <pi...@betaversion.org>.
FYI... Dunno who's on watchdog-dev...
Pier
------ Forwarded Message
> From: Kjeld Froberg <kf...@trifork.com>
> Organization: Trifork Technologies
> Date: Wed, 26 Jun 2002 11:01:12 +0200
> To: watchdog-dev@jakarta.apache.org
> Subject: Error in Watchdog JSP in XML tests
>
> 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
>
------ End of Forwarded Message
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>