GeoServer
  1. GeoServer
  2. GEOS-3924

IsDefault in GetStyles/NamedLayer/UserStyle should be 1 or 0, not true and false

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.2
    • Fix Version/s: 2.0.2
    • Component/s: None
    • Labels:
      None
    • Number of attachments :
      0

      Description

      The SLD 1.0 spec says:

      "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""

      GeoServer uses true and false, which is wrong.

        Issue Links

          Activity

          Hide
          Andrea Aime added a comment -

          When you say "GeoServer users true or false"... do you mean in GetStyles? Or.. where?

          Show
          Andrea Aime added a comment - When you say "GeoServer users true or false"... do you mean in GetStyles? Or.. where?
          Show
          Andrea Aime added a comment - Ok, I guess it's GetStyles, as in: http://demo.opengeo.org/geoserver/wms?service=WMS&version=1.1.0&request=GetStyles&layers=topp:states
          Hide
          Andrea Aime added a comment -

          Fixed in Geotools

          Show
          Andrea Aime added a comment - Fixed in Geotools
          Hide
          Andreas Hocevar added a comment -

          Yes, I meant in GetStyles.

          Show
          Andreas Hocevar added a comment - Yes, I meant in GetStyles.
          Hide
          Andrea Aime added a comment -

          Mass closing all issues that have been in "resolved" state for 2 months or more without any feedback or update

          Show
          Andrea Aime added a comment - Mass closing all issues that have been in "resolved" state for 2 months or more without any feedback or update

            People

            • Assignee:
              Andrea Aime
              Reporter:
              Andreas Hocevar
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: