Andrea Aime ha scritto: > The idea of using the fallback value as defined by SE 1.1 > was also proposed by Jody. > I'm a little twisted about using that, since it's really > a SE 1.1 specific extension: > > <xsd:complexType name="FunctionType" abstract="true"> > <xsd:complexContent> > <xsd:extension base="ogc:FunctionType"> > <xsd:attribute name="fallbackValue" type="xsd:string" > use="required"/> > </xsd:extension> > </xsd:complexContent> > </xsd:complexType> > > on the other side is more compact than using a second > argument.
Ah, reading the SE 1.1 spec, page 38 (page 46 of the pdf): The value of the fallbackValue attribute is used as a default value, if the SE implementation does not support the function. If the implementation supports the function, then the result value is determined by executing the function So using fallback as the default value would be improper usage, as we do support the function Cheers Andrea -- Andrea Aime OpenGeo - http://opengeo.org Expert service straight from the developers. ------------------------------------------------------------------------------ Join us December 9, 2009 for the Red Hat Virtual Experience, a free event focused on virtualization and cloud computing. Attend in-depth sessions from your desk. Your couch. Anywhere. http://p.sf.net/sfu/redhat-sfdev2dev _______________________________________________ Geotools-gt2-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
