Can't add WMS 1.3.0 layer
-------------------------

                 Key: UDIG-1363
                 URL: http://jira.codehaus.org/browse/UDIG-1363
             Project: uDIG
          Issue Type: Bug
          Components: wms
    Affects Versions: UDIG 1.1 RC13
         Environment: wxpsp1, JRE1.5 local WMS
            Reporter: Marcel
            Assignee: Richard Gould
            Priority: Minor


When I try to add a WMS 1.3.0 layer ( added WMS1_3_0.class ) the capabilities 
xml document validation runs into an error.

In a xml tool the same document is validated perfectly against the designated 
xsd

25-jan-2008 16:00:24 org.geotools.xml.XMLSAXHandler startElement
WARNING: org.xml.sax.SAXException: Should not have any children - this is a 
simpleType
25-jan-2008 16:00:24 org.geotools.xml.XMLSAXHandler startElement
WARNING: Line 10 Col 22

Capabilities document:

  <?xml version="1.0" encoding="UTF-8" ?> 
- <WMS_Capabilities xmlns="http://www.opengis.net/wms"; 
xmlns:xlink="http://www.w3.org/1999/xlink"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xmlns:ias="http://sias.gesmallworld.com/ias4.1"; version="1.3.0" 
xsi:schemaLocation="http://www.opengis.net/wms 
http://schemas.opengis.net/wms/1.3.0/capabilities_1_3_0.xsd";>
- <Service>
  <Name>WMS</Name> 
  <Title>GE Smallworld Internet Application WMS server.</Title> 
  <OnlineResource xlink:type="simple" 
xlink:href="http://localhost:8080/sias/ogc?"; /> 
  </Service>
- <Capability>
- <Request>
- <GetCapabilities>
  <Format>text/xml</Format> 
- <DCPType>
- <HTTP>
- <Get>
  <OnlineResource xlink:type="simple" 
xlink:href="http://localhost:8080/sias/ogc?"; /> 
  </Get>
  </HTTP>
  </DCPType>
  </GetCapabilities>
- <GetMap>
  <Format>image/jpeg</Format> 
  <Format>image/png</Format> 
- <DCPType>
- <HTTP>
- <Get>
  <OnlineResource xlink:type="simple" 
xlink:href="http://localhost:8080/sias/ogc?"; /> 
  </Get>
  </HTTP>
  </DCPType>
  </GetMap>
- <GetFeatureInfo>
  <Format>text/xml</Format> 
- <DCPType>
- <HTTP>
- <Get>
  <OnlineResource xlink:type="simple" 
xlink:href="http://localhost:8080/sias/ogc?"; /> 
  </Get>
  </HTTP>
  </DCPType>
  </GetFeatureInfo>
  </Request>
- <Exception>
  <Format>text/xml</Format> 
  </Exception>
+ <Layer>
  <Title>Geografie</Title> 
- <EX_GeographicBoundingBox>
  <westBoundLongitude>-180</westBoundLongitude> 
  <eastBoundLongitude>180</eastBoundLongitude> 
  <southBoundLatitude>-90</southBoundLatitude> 
  <northBoundLatitude>90</northBoundLatitude> 
  </EX_GeographicBoundingBox>
  <BoundingBox CRS="EPSG:28992" minx="0" miny="0" maxx="150000" maxy="450000" 
/> 
  </Layer>
  </Capability>
  </WMS_Capabilities>


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

        
_______________________________________________
User-friendly Desktop Internet GIS (uDig)
http://udig.refractions.net
http://lists.refractions.net/mailman/listinfo/udig-devel

Reply via email to