All,

I know this is an older message, but I figure it out and wanted to make
sure the list knows.

It looks like BEA WLS 6.1 SP2 is still messed up.  It seems like
weblogic ships an older non-release version of the dtd
(http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd).  Weblogic looks to
the system ID in the XML of the TLD and then resolves the DTD load to a
local getResource.  If you look at weblogic.jar, you will see:

weblogic/servlet/jsp/dd/taglib-1_2.dtd

which has the same system id and it used to resolve the DTD.  Looking at
this you will find that it isn't the final one located on the java site,
but an older version.  In this DTD, you see:

<!ELEMENT validator (validator-class, init-param*) >

instead of the correct:

<!ELEMENT validator (validator-class, init-param*, description?) >

As far as I can see this only causes a warning in the jsp compile, but
the code continues to function.

I guess someone needs to open a bug with BEA on this as it makes the
JSTL look bad on the number one app server.

Finally, I ignore this one and now I get:

     [java] Error: translation of /x/y.jsp failed:
weblogic.servlet.jsp.JspException: (line 2): Error in using tag library
uri='/WEB-INF/fmt.tld' prefix='fmt': The Tag class
'org.apache.taglibs.standard.tag.el.fmt.FormatNumberTag' has no setter
method corresponding to TLD declared attribute 'minIntegerDigits', (JSP
1.1 spec, 5.4.1)

>From what I can tell this seems to be a typo in the FormatNumberTag.java
(setMinIntegerUsed instead of setMinIntegerDigits).  Looks like this is
fixed in CVS but wasn't included in Beta1.  Any idea on how long till
Beta2?

> This looks like a bug in WebLogic 6.0; the DTD you have is
> correct.  Try an udpated version of WebLogic (namely, 6.1).
>
> Hope that helps,
>
> Shawn
>
> On Tue, 8 Jan 2002, Cindy Horn   at SF   x4874 wrote:
>
> I am using WebLogic 6.0 and trying to use the tag extensions defined
in the
> c.tld file.  I tried the following tag:
> > <c:forEach var="i" begin="100" end="105">
> This is a test ....
> </c:forEach>
> > and received a SAXParseException:
> > <Deployment descriptor is malformed, check against the DTD:
> org.xml.sax.SAXParseException: The content of element type "validator"
must
> match "(validator-class,init-param*)"..> > > Do I have the wrong DTD?
> > <!DOCTYPE taglib
> PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.2//EN"
> "http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd";;>
> > > Thanks in advance for any help,



-- 
Andrew Spyker ([EMAIL PROTECTED])
Software Engineer
http://spyker.dyndns.org


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to