[weld-issues] [JBoss JIRA] Commented: (WELD-500) beans.xsd doesn't allow other elements to be nested

Pete Muir (JIRA) jira-events at lists.jboss.org
Fri Apr 23 11:24:10 EDT 2010


    [ https://jira.jboss.org/jira/browse/WELD-500?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12527339#action_12527339 ] 

Pete Muir commented on WELD-500:
--------------------------------

If you look at http://java.sun.com/xml/ns/javaee/beans_1_0.xsd we need to alter the definition of what the beans element can contain so that it can nest elements from other namespaces. We can do this using <xs:any namespace="##other" processContents="strict"/> but, you can't nest that <xs:all />.

What I can't figure out is how to make it so that:
   * the elements can appear in any order
   * the elements can occur a maximum of once and minimum zero times
   * it includes the <xs:any />

Anyone know how to do this?

> beans.xsd doesn't allow other elements to be nested
> ---------------------------------------------------
>
>                 Key: WELD-500
>                 URL: https://jira.jboss.org/jira/browse/WELD-500
>             Project: Weld
>          Issue Type: Bug
>          Components: CDI API
>            Reporter: Pete Muir
>


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the weld-issues mailing list