users@javaserverfaces.java.net

html_basic.tld doesn't comform to its schema?

From: Syvalta <syvalta_at_yahoo.com>
Date: Mon, 22 Oct 2007 07:03:44 -0700 (PDT)

I had some problems deploying a jsf app in Geronimo 2. After some debugging,
it seems to me that jsf html taglib definition doesn't comform to its
schema.

The error I get:

WEB-INF\lib\jsf-impl-1.2_05.jar!\META-INF\html_basic.tld:1618:13: error:
cvc-complex-type.2.4a: Expected elements
'rtexprvalue@http://java.sun.com/xml/ns/javaee
deferred-value@http://java.sun.com/xml/ns/javaee
deferred-method@http://java.sun.com/xml/ns/javaee
fragment@http://java.sun.com/xml/ns/javaee' instead of
'type@http://java.sun.com/xml/ns/javaee' here in element
attribute@http://java.sun.com/xml/ns/javaee

The same error occurs also with jsf-impl-1.2_04.jar.

I extracted the tld from the jar and validated it, with the same result. I
have some difficulties to believe that such a problem would have been
undetected for such a long time, so am I missing something or is the file
really not comformant?

The validation fails for the definition of "var":
<name>var</name>
<required>false</required>
<type>java.lang.String</type>

In the other definitions the type is enclosed in <deferred-value>.

Any insights to the issue?

-- 
View this message in context: http://www.nabble.com/html_basic.tld-doesn%27t-comform-to-its-schema--tf4670539.html#a13342286
Sent from the javaserverfaces users mailing list archive at Nabble.com.