Bug 801048 - Compilation of Input UI component logs 2 errors about faces-config.xml
Summary: Compilation of Input UI component logs 2 errors about faces-config.xml
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: JBoss Enterprise WFK Platform 2
Classification: Retired
Component: RichFaces
Version: 2.0.0.ER1,2.0.0.ER2
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: ---
: 2.2.0
Assignee: WFK Docs Team
QA Contact: Pavol Pitonak
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-03-07 15:00 UTC by Marek Novotny
Modified: 2013-04-02 09:57 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Compiling RichFaces UI components logs two errors related to the faces-config.xml file. As the errors do not affect the functionality of the build, the issue is no longer considered a bug and will not be addressed in the future releases.
Clone Of:
Environment:
Last Closed: 2013-02-28 07:52:22 UTC
Type: Bug


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RF-12021 0 Major Resolved Compilation of Input UI component logs 2 errors about faces-config.xml 2013-06-11 02:20:18 UTC

Description Marek Novotny 2012-03-07 15:00:21 UTC
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:
[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.

Comment 1 JBoss JIRA Server 2012-03-26 22:06:04 UTC
Brian Leathem <bleathem> updated the status of jira RF-12021 to Resolved

Comment 2 JBoss JIRA Server 2012-03-26 22:06:04 UTC
Brian Leathem <bleathem> made a comment on jira RF-12021

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.

Comment 4 Marek Novotny 2012-05-20 08:23:11 UTC
I would document this errors as technical note. This is known issue not affecting result as Brian noted, but for future questions it is important to log it.

WDYT?

Comment 6 Karel Piwko 2012-06-20 15:34:50 UTC
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
Compilation of RichFaces UI Components logs errors. These errors logged by CDK does not affect functionality of the resulting build.

Comment 7 Rebecca Newton 2012-06-21 05:23:24 UTC
    Technical note updated. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    Diffed Contents:
@@ -1 +1 @@
-Compilation of RichFaces UI Components logs errors. These errors logged by CDK does not affect functionality of the resulting build.+Compiling RichFaces UI components logs two bad faces-config.xml errors that do not affect functionality of the build.

Comment 8 JBoss JIRA Server 2012-12-09 20:01:51 UTC
Immanuel Gregoire <pcmaan> made a comment on jira RF-12021

So how do I work around this Won't fix bug ? How to build Richfaces ?

thanks

Comment 9 JBoss JIRA Server 2012-12-10 08:07:20 UTC
Pavol Pitonak <ppitonak> made a comment on jira RF-12021

Immanuel, 
this issue doesn't break build and doesn't influence functionality of RichFaces.

Comment 10 JBoss JIRA Server 2012-12-10 10:46:58 UTC
Immanuel Gregoire <pcmaan> made a comment on jira RF-12021

Well, the build does abort on Netbeans 7.1.2 and Netbeans 7.2 when using JDK 1.7 (1.7.0_03)

The build does indeed continue on JDK 1.6 (1.6.0_37)

Can you reproduce it ?

Comment 13 Marek Novotny 2013-02-28 07:52:22 UTC
Upstream issue was closed as WON'T FIX, so we have no other option to handle this differently.


Note You need to log in before you can comment on or make changes to this bug.