You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Max Starets (JIRA)" <de...@myfaces.apache.org> on 2010/02/13 01:49:27 UTC

[jira] Commented: (TRINIDAD-1724) Generated Facelets taglib.xml files don't validate against schema

    [ https://issues.apache.org/jira/browse/TRINIDAD-1724?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12833269#action_12833269 ] 

Max Starets commented on TRINIDAD-1724:
---------------------------------------

The XSD shipped with Mojarra 2.0.1 (under jsf-api/doc) contains the following:

<xsd:element name="method-signature"
                             type="javaee:string"
                             minOccurs="0">
                    <xsd:annotation>
                        <xsd:documentation>

                            Defines the method signature for a MethodExpression-
                            enabled attribute.

                        </xsd:documentation>
                    </xsd:annotation>
                </xsd:element>
 
However, the one available from http://java.sun.com/xml/ns/javaee/web-facesconfig_2_0.xsd does not. I suspect Mojarra guys forgot to update it. If the omission is intentional, we can stop genetating method-signature elements.

> Generated Facelets taglib.xml files don't validate against schema
> -----------------------------------------------------------------
>
>                 Key: TRINIDAD-1724
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-1724
>             Project: MyFaces Trinidad
>          Issue Type: Bug
>          Components: Plugins
>    Affects Versions:  2.0.2-plugins 
>            Reporter: Catalin Kormos
>
> At least the tr.taglib.xml I just checked and it contains a lot of <<method-signature> elements, for example:
>    <attribute>
>       <description>
>         an EL binding to the method that will deliver the file contents.  The method must take two parameters, a FacesContext and an OutputStream.
>       </description>
>       <name>method</name>
>       <required>true</required>
>       <method-signature>void myMethod(javax.faces.context.FacesContext, java.io.OutputStream)</method-signature>
>     </attribute>
> Checking the schema <method-signature> is not allowed in <attribute>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.