You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xmlbeans.apache.org by "Jacob Danner (JIRA)" <xm...@xml.apache.org> on 2005/04/14 00:56:36 UTC

[jira] Assigned: (XMLBEANS-137) SchemaField docs and behavior differ for getMaxOccurs

     [ http://issues.apache.org/jira/browse/XMLBEANS-137?page=history ]

Jacob Danner reassigned XMLBEANS-137:
-------------------------------------

    Assign To: Jacob Danner

> SchemaField docs and behavior differ for getMaxOccurs
> -----------------------------------------------------
>
>          Key: XMLBEANS-137
>          URL: http://issues.apache.org/jira/browse/XMLBEANS-137
>      Project: XMLBeans
>         Type: Bug
>     Versions: Version 1.0.3
>     Reporter: David Jencks
>     Assignee: Jacob Danner
>  Attachments: NullMaxOccursTest.java
>
> javadoc for SchemaField.getMaxOccurs indicates that default is 1 and null means unbounded.  My experience is that default (not specified) results in null as well at least for GlobalElements. I haven't experimented so much on local elements and types. This seems to occur on v1 and v2. A simple test case is attached.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@xmlbeans.apache.org
For additional commands, e-mail: dev-help@xmlbeans.apache.org