org.geotools.xml.Schemas::getMinOccurs and getMaxOccurs fails when asked for a 
property defined in a super type
---------------------------------------------------------------------------------------------------------------

                 Key: GEOT-1232
                 URL: http://jira.codehaus.org/browse/GEOT-1232
             Project: GeoTools
          Issue Type: Bug
          Components: core xml
    Affects Versions: 2.4.M1
            Reporter: Gabriel Roldán
         Assigned To: Justin Deoliveira
             Fix For: 2.4.M2
         Attachments: Schemas.patch

org.geotools.xml.Schemas::getMinOccurs and getMaxOccurs fails when asked for a 
property defined in a super type,
it only checks for the child elements directly declared in the type.
The attached patch applies the lookup to all the elements in the type, included 
the ones defined in the base types

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

       

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to