[Maplab-dev] [Bug 266] New: generated SLD documents don't validate against schema
Fri, 5 Mar 2004 11:31:35 -0500

           Summary: generated SLD documents don't validate against schema
           Product: MapLab
           Version: 3.0
          Platform: PC
        OS/Version: Windows 2000
            Status: NEW
          Severity: normal
          Priority: P2
         Component: SECT (Studio)

The first SLD document I generated does not validate against the OGC schema at:

-NAME should be Name
-ogc namespace is not used in the Filter
-the sequences of some XML elements are wrong (the schema determines the
sequence), e.g. 
        <xsd:element ref="sld:GraphicFill" minOccurs="0"/>
        <xsd:element ref="sld:CssParameter" minOccurs="0"
so first GraphicFill, then CssParameter.

Also Mark should be in front of Size!

This is the original generated SLD by Studio:
<StyledLayerDescriptor version="1.0.0">
<CssParameter name="fill">#8f0000</CssParameter>
<CssParameter name="fill">#8f0000</CssParameter>

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

This archive was generated by Pipermail.