Re: Error in Watchdog JSP in XML tests
Ryan Lubke <[email protected]> 27 Jun 2002 10:11:40 -0500
| Newsgroups | gmane.comp.jakarta.watchdog.devel |
|---|---|
| Message-ID | <1025190700.1546.4.camel@rivendell> |
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:[email protected] > http:\\www.trifork.com > > -- > To unsubscribe, e-mail: <mailto:[email protected]> > For additional commands, e-mail: <mailto:[email protected]> >