On 10/04/2010 05:29 PM, Luca Morandini wrote:
>
> Not to be prickly, but the SLD schema states that the order is not relevant 
> for
> ColorMapEntry:
> <xsd:choice minOccurs="0" maxOccurs="unbounded">
>       <xsd:element ref="sld:ColorMapEntry"/>
> </xsd:choice>
>
> ...otherwise it would have been a xsd:sequence, wouldn't it ?

Well, I have to correct myself: "xsd:sequence" won't be of any assistance in 
this 
case (we need to sort by attribute value, not by elements).

Actually, I think there is no way in XSD to express a restriction on the order 
of 
attribute values !

Regards,

Luca Morandini
[http://www.lucamorandini.it]


------------------------------------------------------------------------------
Virtualization is moving to the mainstream and overtaking non-virtualized
environment for deploying applications. Does it make network security 
easier or more difficult to achieve? Read this whitepaper to separate the 
two and get a better understanding.
http://p.sf.net/sfu/hp-phase2-d2d
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to