Support complex attributes as xs:AnyType
----------------------------------------

                 Key: GEOT-2916
                 URL: http://jira.codehaus.org/browse/GEOT-2916
             Project: GeoTools
          Issue Type: Bug
          Components: ext xml-xsd
    Affects Versions: 2.6.1
            Reporter: Rini Angreani
             Fix For: 2.6.2


I modified SubstitutionGroupXSAnyTypeBinding so it allows complex attributes to 
be encoded as xs:AnyType.
Eg. In om:ObservationType, om:result is of anyType (see 
http://schemas.opengis.net/om/1.0.0/observation.xsd).
At the moment, only simple attributes are encoded as xs:AnyType (eg. date, int, 
etc), I believe. 
There's also a small bug in GML3EncodingUtils that causes an NPE which stops 
this from working. I just added a simple null checking. 
Test case covered in here: http://jira.codehaus.org/browse/GEOS-3751

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

        

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to