[richfaces-issues] [JBoss JIRA] (RF-12021) Compilation of Input UI component logs 2 errors about faces-config.xml

Brian Leathem (JIRA) jira-events at lists.jboss.org
Mon Mar 26 18:06:47 EDT 2012


     [ https://issues.jboss.org/browse/RF-12021?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brian Leathem resolved RF-12021.
--------------------------------

    Fix Version/s:     (was: 4.2.1.CR1)
       Resolution: Won't Fix


The CDK generates a faces-config.xml using the src faces-config.xml file as a base.  The CDK evaluates the xi:include statements, generating a valid faces-config.xml.

It's not worth spending the time to dig into the xml parsers validation to suppress this error, given that this file producing the errors is an intermediate file, and not present in the delivered artifact.
                
> Compilation of Input UI component logs 2 errors about faces-config.xml
> ----------------------------------------------------------------------
>
>                 Key: RF-12021
>                 URL: https://issues.jboss.org/browse/RF-12021
>             Project: RichFaces
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: component-input
>    Affects Versions: 4.2.0.Final
>            Reporter: Marek Novotny
>            Assignee: Brian Leathem
>
> Compilation of RF UI Components specifically Input UI has got 2 errors in log - related to bad faces-config.xml on line number 29 and 240.
> The following is snippet of log:
> {noformat}
> [INFO] ------------------------------------------------------------------------
> [INFO] Building RichFaces UI Components: Input UI 4.2.0.Final
> [INFO] ------------------------------------------------------------------------
> [INFO] 
> [INFO] --- maven-enforcer-plugin:1.0-redhat-1:enforce (enforce-java-version) @ richfaces-ui-input-ui ---
> [INFO] The requirePluginVersions rule is currently not compatible with Maven3.
> [INFO] 
> [INFO] --- maven-enforcer-plugin:1.0-redhat-1:enforce (enforce-maven-version) @ richfaces-ui-input-ui ---
> [INFO] The requirePluginVersions rule is currently not compatible with Maven3.
> [INFO] 
> [INFO] --- maven-cdk-plugin:4.2.0.Final-redhat-1:generate (cdk-generate-sources) @ richfaces-ui-input-ui ---
> [Error] faces-config.xml:29:71: cvc-complex-type.2.4.a: Invalid content was found starting with element 'xi:include'. One of '{"http://java.sun.com/xml/ns/javaee":property, "http://java.sun.com/xml/ns/javaee":component-extension}' is expected.
> [Error] faces-config.xml:240:71: cvc-complex-type.2.4.a: Invalid content was found starting with element 'xi:include'. One of '{"http://java.sun.com/xml/ns/javaee":property, "http://java.sun.com/xml/ns/javaee":component-extension}' is expected.
> {noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the richfaces-issues mailing list