SchemaParticle.getIntMaxOccurs doesn't return the correct value for some 
particular xsd shema(attached)
-------------------------------------------------------------------------------------------------------

                 Key: XMLBEANS-401
                 URL: https://issues.apache.org/jira/browse/XMLBEANS-401
             Project: XMLBeans
          Issue Type: Bug
          Components: Compiler
    Affects Versions: Version 2.4.1 
         Environment: Standalone java program with OS win xp
            Reporter: Shashank Gupta


I am trying to compile the xsd and retrieve information(like name, type, 
isMultivalue ) about the leaf nodes.  The SchemaParticle.getIntMaxOccurs is not 
returning the right value. I have attached both the sample program and the xsd 
file. 

The other thing i have noticed that if i remove the elements line-item and 
shipper then  SchemaParticle.getIntMaxOccurs returns right value. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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

Reply via email to