"Fossies" - the Fresh Open Source Software Archive

Member "geoserver-2.23.1/src/web/core/src/test/java/org/geoserver/web/data/store/1.3.0Capabilities-xxe.xml" (22 May 2023, 3928 Bytes) of package /linux/www/geoserver-2.23.1.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) XML source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 <?xml version="1.0"?>
    2 <!DOCTYPE Name [ 
    3  <!ENTITY file SYSTEM "file:///file/not/there">]>
    4 <WMS_Capabilities version="1.3.0" xmlns="http://www.opengis.net/wms" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.opengis.net/wms capabilities_1_3_0.xsd">
    5     <!-- Service Metadata -->
    6     <Service>
    7         <!-- The WMT-defined name for this type of service -->
    8         <Name>WMS</Name>
    9         <!-- Human-readable title for pick lists -->
   10         <Title>World Map</Title>
   11         <!-- Narrative description providing additional information -->
   12         <Abstract>None</Abstract>
   13         <!-- Top-level web address of service or service provider.  See also OnlineResource
   14   elements under <DCPType>. -->
   15         <OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:href="http://www2.demis.nl"/>
   16         <!-- Contact information -->
   17         <ContactInformation>
   18             <ContactPersonPrimary>
   19                 <ContactPerson></ContactPerson>
   20                 <ContactOrganization></ContactOrganization>
   21             </ContactPersonPrimary>
   22             <ContactPosition>None</ContactPosition>
   23             <ContactAddress>
   24                 <AddressType>None</AddressType>
   25                 <Address>None</Address>
   26                 <City>None</City>
   27                 <StateOrProvince>None</StateOrProvince>
   28                 <PostCode>None</PostCode>
   29                 <Country>None</Country>
   30             </ContactAddress>
   31             <ContactVoiceTelephone>None</ContactVoiceTelephone>
   32             <ContactElectronicMailAddress></ContactElectronicMailAddress>
   33         </ContactInformation>
   34         <!-- Fees or access constraints imposed. -->
   35         <Fees>none</Fees>
   36         <AccessConstraints>none</AccessConstraints>
   37         <LayerLimit>40</LayerLimit>
   38         <MaxWidth>2000</MaxWidth>
   39         <MaxHeight>2000</MaxHeight>
   40     </Service>
   41     <Capability>
   42         <Request>
   43             <GetCapabilities>
   44                 <Format>text/xml</Format>
   45                 <DCPType>
   46                     <HTTP>
   47                         <Get>
   48                             <OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:href="http://www2.demis.nl/wms/wms.asp?wms=WorldMap&amp;"/>
   49                         </Get>
   50                         <Post>
   51                             <OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:href="http://www2.demis.nl/wms/wms.asp?wms=WorldMap&amp;"/>
   52                         </Post>
   53                     </HTTP>
   54                 </DCPType>
   55             </GetCapabilities>
   56             <GetMap>
   57                 <Format>image/gif</Format>
   58                 <Format>image/png</Format>
   59                 <Format>image/jpeg</Format>
   60                 <Format>image/bmp</Format>
   61                 <Format>image/swf</Format>
   62                 <DCPType>
   63                     <HTTP>
   64                         <Get>
   65                             <!-- The URL here for invoking GetCapabilities using HTTP GET
   66             is only a prefix to which a query string is appended. -->
   67                             <OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:href="http://www2.demis.nl/wms/wms.asp?wms=WorldMap&amp;"/>
   68                         </Get>
   69                     </HTTP>
   70                 </DCPType>
   71             </GetMap>
   72             <GetFeatureInfo>
   73                 <Format>text/xml</Format>
   74                 <Format>text/plain</Format>
   75                 <Format>text/html</Format>
   76                 <Format>text/swf</Format>
   77                 <DCPType>
   78                     <HTTP>
   79                         <Get>
   80                             <OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:href="http://www2.demis.nl/wms/wms.asp?wms=WorldMap&amp;"/>
   81                         </Get>
   82                     </HTTP>
   83                 </DCPType>
   84             </GetFeatureInfo>
   85         </Request>
   86         <Exception>
   87             <Format>XML</Format>
   88             <Format>INIMAGE</Format>
   89             <Format>BLANK</Format>
   90         </Exception>
   91         <Layer>
   92             <Title>World Map</Title>
   93             <CRS>CRS:84</CRS>
   94             <!-- all layers are available in at least this CRS -->
   95             <EX_GeographicBoundingBox>
   96                 <westBoundLongitude>-180</westBoundLongitude>
   97                 <eastBoundLongitude>180</eastBoundLongitude>
   98                 <southBoundLatitude>-90</southBoundLatitude>
   99                 <northBoundLatitude>90</northBoundLatitude>
  100             </EX_GeographicBoundingBox>
  101             <BoundingBox CRS="CRS:84" minx="-184" miny="-90.0000000017335" maxx="180" maxy="90"/>
  102             <Layer queryable="1" opaque="1">
  103                 <Name>&file;</Name>
  104                 <Title>Bathymetry</Title>
  105                 <BoundingBox CRS="CRS:84" minx="-180" miny="-90" maxx="180" maxy="90"/>
  106             </Layer>
  107         </Layer>
  108     </Capability>
  109 </WMS_Capabilities>
  110