Bug 830207

Summary: Seam: TAG-16 Quartz example
Product: [Retired] JBoss Enterprise WFK Platform 2 Reporter: Karel Piwko <kpiwko>
Component: Examples, SeamAssignee: Marek Novotny <mnovotny>
Status: CLOSED DEFERRED QA Contact: Karel Piwko <kpiwko>
Severity: medium Docs Contact:
Priority: medium    
Version: 2.0.0.ER7CC: bsutter, rruss
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: Seam2.3
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-06-19 08:18:13 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Karel Piwko 2012-06-08 14:41:15 UTC
Description	Resource	Path	Location	Type
cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element 'pay:payment-home'.	components.xml	/quartz-web/src/main/webapp/WEB-INF	line 18	XML Problem
cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element 'pay:payment-home'.	components.xml	/quartz-web/target/m2e-wtp/web-resources/WEB-INF	line 18	XML Problem
cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element 'pay:payment'.	components.xml	/quartz-web/src/main/webapp/WEB-INF	line 24	XML Problem
cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element 'pay:payment'.	components.xml	/quartz-web/target/m2e-wtp/web-resources/WEB-INF	line 24	XML Problem

Comment 1 Karel Piwko 2012-06-08 14:41:43 UTC
Following errors happen in quartz example when imported to JBDS (ignoring missing Maven artifacts) ^

Comment 2 Marek Novotny 2012-06-15 11:11:18 UTC
This is related to Seam configuration of XML namespace with defined custom namespace in package-info.java class.

The example itself doesn't provide the XSD for XML validation so it is correct that these errors are shown.

We anyway don't fix it as it is a showcase how to quickly define user namespace.
More in Seam reference documentation http://docs.redhat.com/docs/en-US/JBoss_Enterprise_Application_Platform/5/html-single/Seam_Reference_Guide/index.html#id3021450

Anyway If you want to get off these errors just remove whole xsi:schemaLocation= part of components element