MapTools.org

[Chameleon-dev] [Bug 290] New: Web Map Context document is invalid

bugzilla-daemon@www.maptools.org bugzilla-daemon@www.maptools.org
Mon, 15 Mar 2004 04:43:23 -0500
http://www.maptools.org/bugzilla/show_bug.cgi?id=290

           Summary: Web Map Context document is invalid
           Product: Chameleon
           Version: 1.1
          Platform: PC
        OS/Version: Windows 2000
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Widget
        AssignedTo: chameleon-dev@lists.maptools.org
        ReportedBy: bartvde@xs4all.nl


The WMC document generated using the DownloadContext widget is invalid according
to the schema.

These are the respective wms_ metadata tags from my MAP file which are relevant,
if I understood correctly Mapserver can only deal with empty styles which is why
my wms_style is an empty string:

          "wms_stylelist"	""
          "wms_style_default_title"	""
          "wms_style"	""

There is an empty StyleList in the WMC document, StyleList should always contain
a Style element. If the StyleList is left out, the document validates.

    <Layer queryable="0" hidden="0">
      <Server service="WMS" version="1.1.0" title="Geostreets">
        <OnlineResource xlink:type="simple" xlink:href="http://blabla&amp;"/>
      </Server>
      <Name>layer_1</Name>
      <Title>Geostreets</Title>
      <SRS>EPSG:28992</SRS>
      <FormatList>
        <Format>image/jpeg</Format>
        <Format current="1">image/png</Format>
      </FormatList>
      <StyleList>
      </StyleList>
    </Layer>



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


This archive was generated by Pipermail.