beehive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "matt c (JIRA)" <j...@apache.org>
Subject [jira] Reopened: (BEEHIVE-1180) netui-jsf sample with JSF RI version of web.xml has validation errors
Date Fri, 29 Jun 2007 17:07:06 GMT

     [ https://issues.apache.org/jira/browse/BEEHIVE-1180?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

matt c reopened BEEHIVE-1180:
-----------------------------

      Assignee: Carlin Rogers  (was: matt c)

Need some clarification as to what the fix actually was. The file in question, web.xml.jsf-ri,
has not been changed since rev389801, and still has the elements ordered in a way that this
bug suggests is invalid:
    <context-param>
        <param-name>com.sun.faces.validateXml</param-name>
        <param-value>true</param-value>
        <description>Set this flag...</description>
    </context-param>

I was able to find the following schema representation for 'param-valueType', with description
first, but not sure if this is the actual schema representation that we are referencing:
<xsd:complexType name="param-valueType">
<xsd:sequence>
<xsd:element name="description" type=" j2ee:descriptionType " minOccurs="0" maxOccurs="unbounded"/>
<xsd:element name="param-name" type=" j2ee:string "/>
<xsd:element name="param-value" type=" j2ee:xsdStringType "/>
</xsd:sequence>
<xsd:attribute name="id" type=" xsd:ID "/>
</xsd:complexType>

So need some clarification as to what the fix was for this bug.

> netui-jsf sample with JSF RI version of web.xml has validation errors
> ---------------------------------------------------------------------
>
>                 Key: BEEHIVE-1180
>                 URL: https://issues.apache.org/jira/browse/BEEHIVE-1180
>             Project: Beehive
>          Issue Type: Bug
>          Components: NetUI
>    Affects Versions: 1.0.1, 1.0.2
>            Reporter: Carlin Rogers
>            Assignee: Carlin Rogers
>            Priority: Minor
>             Fix For: V.Next
>
>
> The JSF RI version of the web.xml file in the NetUI JSF sample, netui-jsf, has validation
errors and may cause deployment issues on some servers.
> The problem is in the ordering/sequence of elements in the JSF RI version of the web.xml
file (web.xml.jsf-ri). There are two <context-param> elements that each contain a <description>
element following after the <param-name> and <param-value>. With the web-app_2_4.xsd
(j2ee_1_4.xsd), a sequence of <description>, <param-name>, <param-value>
is imposed. The <description> element must be first in the <context-param>.

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


Mime
View raw message