You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Catalin Kormos (JIRA)" <de...@myfaces.apache.org> on 2010/02/12 23:38:28 UTC
[jira] Created: (TRINIDAD-1724) Generated Facelets taglib.xml files
don't validate against schema
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.
[jira] Commented: (TRINIDAD-1724) Generated Facelets taglib.xml
files don't validate against schema
Posted by "Andy Schwartz (JIRA)" <de...@myfaces.apache.org>.
[ https://issues.apache.org/jira/browse/TRINIDAD-1724?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12833968#action_12833968 ]
Andy Schwartz commented on TRINIDAD-1724:
-----------------------------------------
I have logged the following spec issue on this topic:
https://javaserverfaces-spec-public.dev.java.net/issues/show_bug.cgi?id=746
BTW, quick correction... the xsd in question is web-facelettaglibrary_2_0.xsd, not web-facesconfig_2_0.xsd.
> 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.
[jira] Commented: (TRINIDAD-1724) Generated Facelets taglib.xml
files don't validate against schema
Posted by "Max Starets (JIRA)" <de...@myfaces.apache.org>.
[ 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.
[jira] Commented: (TRINIDAD-1724) Generated Facelets taglib.xml
files don't validate against schema
Posted by "Matthias Weßendorf (JIRA)" <de...@myfaces.apache.org>.
[ https://issues.apache.org/jira/browse/TRINIDAD-1724?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12834182#action_12834182 ]
Matthias Weßendorf commented on TRINIDAD-1724:
----------------------------------------------
but as said on mailing list, this one is also not "complete".
> 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.
[jira] Commented: (TRINIDAD-1724) Generated Facelets taglib.xml
files don't validate against schema
Posted by "Bernd Bohmann (JIRA)" <de...@myfaces.apache.org>.
[ https://issues.apache.org/jira/browse/TRINIDAD-1724?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12834164#action_12834164 ]
Bernd Bohmann commented on TRINIDAD-1724:
-----------------------------------------
I think we use a local version of the xsd or the xsd from myfaces-2.0.x/impl/src/main/resources/org/apache/myfaces/resource/web-facelettaglibrary_2_0.xsd to support offline build.
> 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.
[jira] Issue Comment Edited: (TRINIDAD-1724) Generated Facelets
taglib.xml files don't validate against schema
Posted by "Bernd Bohmann (JIRA)" <de...@myfaces.apache.org>.
[ https://issues.apache.org/jira/browse/TRINIDAD-1724?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12834164#action_12834164 ]
Bernd Bohmann edited comment on TRINIDAD-1724 at 2/16/10 11:27 AM:
-------------------------------------------------------------------
I think we should use a local version of the xsd or the xsd from myfaces-2.0.x/impl/src/main/resources/org/apache/myfaces/resource/web-facelettaglibrary_2_0.xsd to support offline build.
was (Author: bommel):
I think we use a local version of the xsd or the xsd from myfaces-2.0.x/impl/src/main/resources/org/apache/myfaces/resource/web-facelettaglibrary_2_0.xsd to support offline build.
> 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.