[jbossseam-issues] [JBoss JIRA] Updated: (JBSEAM-2317) xsi:schemaLocation attribute should be ignored on fine-grained component.xml files

Dan Allen (JIRA) jira-events at lists.jboss.org
Thu Nov 29 00:06:47 EST 2007


     [ http://jira.jboss.com/jira/browse/JBSEAM-2317?page=all ]

Dan Allen updated JBSEAM-2317:
------------------------------

    Attachment: JBSEAM-2317-v1.txt

> 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.GA
>
>         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

        



More information about the seam-issues mailing list