"Fossies" - the Fresh Open Source Software Archive

Member "geotools-29.1/modules/extension/wms/src/test/resources/org/geotools/ows/wms/test/test-data/1.1.1Capabilities-xxe.xml" (4 May 2023, 4693 Bytes) of package /linux/misc/geotools-29.1-project.zip:


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' encoding="UTF-8" standalone="no" ?>
    2 <!DOCTYPE Name [ 
    3  <!ENTITY file SYSTEM "file:///file/not/there">]>
    4 <WMT_MS_Capabilities version="1.1.1" updateSequence="0">
    5 <Service>
    6   <Name>OGC:WMS</Name>
    7   <Title>Microsoft TerraServer Map Server</Title>
    8   <Abstract>WMT Map Server maintained by Microsoft Corporation.  Data returned provided by US Geological Survey.  Contact: tbarclay@microsoft.com or gylee@usgs.gov.</Abstract>
    9   <KeywordList>
   10     <Keyword>USGS</Keyword>
   11 
   12     <Keyword>DOQ</Keyword>
   13     <Keyword>DRG</Keyword>
   14     <Keyword>Topographic</Keyword>
   15     <Keyword>UrbanArea</Keyword>
   16     <Keyword>Urban Areas</Keyword>
   17   </KeywordList>
   18 
   19   <!-- Top-level web address of service or service provider.  See also OnlineResource elements under <DCPType>. -->
   20   <OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:href="http://terraservice.net/" />
   21   <!-- Contact information -->
   22   <ContactInformation>
   23     <ContactPersonPrimary>
   24       <ContactPerson>Some guy</ContactPerson>
   25       <ContactOrganization>Some company</ContactOrganization>
   26     </ContactPersonPrimary>
   27 
   28     <ContactPosition>Researcher</ContactPosition>
   29     <ContactAddress>
   30       <AddressType>postal</AddressType>
   31       <Address>555 Street St.</Address>
   32       <City>San Francisco</City>
   33       <StateOrProvince>CA</StateOrProvince>
   34 
   35       <PostCode>11111</PostCode>
   36       <Country>USA</Country>
   37     </ContactAddress>
   38     <ContactVoiceTelephone>+1 555 555 5555</ContactVoiceTelephone>
   39     <ContactFacsimileTelephone>+1 555 555 5556</ContactFacsimileTelephone>
   40     <ContactElectronicMailAddress>email@domain.com</ContactElectronicMailAddress>
   41 
   42   </ContactInformation>
   43   <!-- Fees or access constraints imposed. -->
   44   <Fees>none</Fees>
   45   <AccessConstraints>none</AccessConstraints>
   46 </Service>
   47 <Capability>
   48   <Request>
   49     <GetCapabilities>
   50       <Format>application/vnd.ogc.wms_xml</Format>
   51 
   52       <DCPType>
   53         <HTTP>
   54           <Get>
   55             <!-- The URL here for invoking GetCapabilities using HTTP GET
   56             is only a prefix to which a query string is appended. -->
   57             <OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink"
   58              xlink:type="simple"
   59              xlink:href="http://terraservice.net/ogccapabilities.ashx" />
   60           </Get>
   61           <Post>
   62             <!-- The URL here for invoking GetCapabilities using HTTP POST
   63             includes the complete address to which a query would be sent in
   64             XML format.  This is here for future expansion; no POST encoding
   65         has yet been defined. -->
   66             <OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink"
   67              xlink:type="simple"
   68              xlink:href="http://terraservice.net/ogccapabilities.ashx" />
   69 
   70           </Post>
   71         </HTTP>
   72       </DCPType>
   73     </GetCapabilities>
   74     <GetMap>
   75       <Format>image/jpeg</Format>
   76       <DCPType>
   77         <HTTP>
   78 
   79           <Get>
   80             <!-- The URL here for invoking GetMap using HTTP GET
   81             is only a prefix to which a query string is appended. -->
   82             <OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink"
   83              xlink:type="simple"
   84              xlink:href="http://terraservice.net/ogcmap.ashx" />
   85           </Get>
   86         </HTTP>
   87       </DCPType>
   88     </GetMap>
   89   </Request>
   90   <Exception>
   91 
   92     <Format>application/vnd.ogc.se_xml</Format>
   93     <Format>application/vnd.ogc.se_inimage</Format>
   94     <Format>application/vnd.ogc.se_blank</Format>
   95     <Format>text/html</Format>
   96   </Exception>
   97   <Layer>
   98     <Title>Microsoft TerraServer Map Server</Title>
   99 
  100     <SRS>EPSG:4326</SRS> <!-- all layers are available in at least this SRS -->
  101     <LatLonBoundingBox minx="-168.67" miny="17.84" maxx="-65.15" maxy="71.55" /> <!-- Queried on 3/13/2002 -->
  102       <Attribution>
  103         <Title>U.S. Geological Survey</Title>
  104         <OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple"
  105          xlink:href="http://terraserver.microsoft.com/about.aspx?n=AboutAboutImages" />
  106         <LogoURL width="92" height="36">
  107           <Format>image/gif</Format>
  108 
  109           <OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink"
  110            xlink:type="simple"
  111            xlink:href="http://terraservice.net/images/usgslogo.gif" />
  112         </LogoURL>
  113       </Attribution>
  114     <Layer queryable="0" cascaded="0" opaque="1" noSubsets="0" fixedWidth="0" fixedHeight="0">
  115       <Name>&file;</Name> 
  116       <Title>USGS Digital Ortho-Quadrangles</Title>
  117       <SRS>EPSG:26920</SRS> <!-- NAD83 / UTM Zone 20N -->
  118       <BoundingBox SRS="EPSG:26920" minx="181800" miny="1985200" maxx="269400" maxy="2048600" resx="1" resy="1" />
  119     </Layer>
  120   </Layer>
  121 </Capability>
  122 </WMT_MS_Capabilities>