SLD isDefault is treated as a boolean, but the spec says 0 or 1 instead -----------------------------------------------------------------------
Key: GEOT-3048 URL: http://jira.codehaus.org/browse/GEOT-3048 Project: GeoTools Issue Type: Bug Affects Versions: 2.6.3 Reporter: Andrea Aime Assignee: Andrea Aime Fix For: 2.6.4 This issue affects both the parser and the encoder, they both assume UserStyle.isDefault it's a true/false property, but the spec says instead: {panel} The IsDefault element identifies whether a style is the default style of a layer, for use in SLD 'library mode' when rendering or for storing inside of a map server. IsDefault uses "1" for true and "0" for false. The default value is "0". {panel} I guess the spec was made by a C developer... I'll keep the parser lenient so that it can keep on parsing booleans, but the output will follow the spec -- 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 ------------------------------------------------------------------------------ _______________________________________________ Geotools-devel mailing list Geotools-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geotools-devel