[
http://jira.jboss.com/jira/browse/JBSEAM-2317?page=all ]
Norman Richards closed JBSEAM-2317.
-----------------------------------
Resolution: Done
I think it would be better to treat all namespaced attributes as non-properties. The seam
schema and DTD all reference non-namespaced attributes. I've committed that fix.
xsi:schemaLocation attribute should be ignored on fine-grained
component.xml files
----------------------------------------------------------------------------------
Key: JBSEAM-2317
URL:
http://jira.jboss.com/jira/browse/JBSEAM-2317
Project: JBoss Seam
Issue Type: Bug
Components: Core
Affects Versions: 2.0.0.GA
Reporter: Dan Allen
Assigned To: Dan Allen
Priority: Minor
Fix For: 2.0.1.CR1
Attachments: JBSEAM-2317-v1.txt
Original Estimate: 5 minutes
Remaining Estimate: 5 minutes
Seam supports the use of fine-grained component deployment descriptors (files ending in
.component.xml). However, if you were to put XML schema attributes into this file, Seam
would mistakenly try to set the schemaLocation property on the component.
Caused by: java.lang.IllegalArgumentException: no such setter method:
org.jboss.seam.test.unit.component.ConfigurableComponent.schemaLocation
The solution for this is extremely simple and very backward compatible. We are obviously
not interested in any attribute which has a namespace corresponding to XML schema.
Therefore, this is a simple exclusion of attributes in this namespace:
!"http://www.w3.org/2001/XMLSchema-instance".equals(prop.getNamespaceURI());
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira