Rini Angreani created GEOT-4034:
-----------------------------------

             Summary: Complex feature properties are encoded in the wrong order 
if there are multiple namespaces
                 Key: GEOT-4034
                 URL: https://jira.codehaus.org/browse/GEOT-4034
             Project: GeoTools
          Issue Type: Bug
          Components: xsd extensions
    Affects Versions: 8.0-M4
            Reporter: Rini Angreani
             Fix For: 8.0-RC1


This was fixed in http://jira.codehaus.org/browse/GEOT-3183, however it's still 
broken if the attributes aren't of the same namespace.

Schema:
{code}
        <complexType name="PointSeriesCoverageType">
                <complexContent>
                        <restriction base="gml:DiscreteCoverageType">
                                <sequence>
                                        <group 
ref="gml:StandardObjectProperties"/>
                                        <element ref="gml:boundedBy" 
minOccurs="0"/>
                                        <element ref="csml:pointSeriesDomain"/>
                                        <element ref="gml:rangeSet"/>
                                        <element ref="gml:coverageFunction" 
minOccurs="0"/>
                                </sequence>
                        </restriction>
                </complexContent>
        </complexType>
{code}

Output:
{code}
                <csml:PointSeriesCoverage gml:id="ID2.1">
                    <gml:rangeSet>
                        <gml:ValueArray gml:id="ID2.3">
                            <gml:valueComponent>
                                <gml:QuantityList uom="degC">16.2 17.1 22.0 
25.1 23.9 22.8 17.0 10.2 9.2 7.1 12.3 12.9 17.2 23.6 21.6 21.9 17.6 14.0 9.3 
3.8</gml:QuantityList>
                            </gml:valueComponent>
                        </gml:ValueArray>
                    </gml:rangeSet>
                    <gml:coverageFunction>
                        <gml:MappingRule>string</gml:MappingRule>
                    </gml:coverageFunction>
                    <csml:pointSeriesDomain>
                        <csml:TimeSeries gml:id="ID2.2">
                            <csml:timePositionList>1949-05 1949-06 1949-07 
1949-08 1949-09 1949-10 1949-11 1949-12 1950-01 1950-02 1950-03 1950-04 1950-05 
1950-06 1950-07 1950-08 1950-09 1950-10 1950-11 1950-12</csml:timePositionList>
                        </csml:TimeSeries>
                    </csml:pointSeriesDomain>
                </csml:PointSeriesCoverage>
{code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
GeoTools-Devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to