DataMapper SqlMap.xsd SqlMap elements order
-------------------------------------------

                 Key: IBATISNET-204
                 URL: https://issues.apache.org/jira/browse/IBATISNET-204
             Project: iBatis for .NET
          Issue Type: Improvement
          Components: DataMapper
            Reporter: David Marzo
            Priority: Minor


I dont feel comfortable  with the structure order of  xml mapping files defines 
in SqlMap.xsd.

The xsd force: alias, cacheModels, resultMaps,statements,parameterMaps 
I preffer:  alias, cacheModels,parameterMaps,  resultMaps,statements

Could you replace xs:sequence for xs:all  in sqlMap Element ?

<xs:all>
                                <xs:element ref="alias" minOccurs="0"/>
                                <xs:element ref="cacheModels" minOccurs="0"/>
                                <xs:element ref="resultMaps" minOccurs="0"/>
                                <xs:element ref="statements" minOccurs="0" />
                                <xs:element ref="parameterMaps" minOccurs="0"/>
</xs:all>

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

        

Reply via email to