content/xul/templates/tests/chrome/animals.rdf

Sat, 03 Jan 2015 20:18:00 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Sat, 03 Jan 2015 20:18:00 +0100
branch
TOR_BUG_3246
changeset 7
129ffea94266
permissions
-rw-r--r--

Conditionally enable double key logic according to:
private browsing mode or privacy.thirdparty.isolate preference and
implement in GetCookieStringCommon and FindCookie where it counts...
With some reservations of how to convince FindCookie users to test
condition and pass a nullptr when disabling double key logic.

     1 <?xml version="1.0"?>
     3 <RDF:RDF xmlns:RDF="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
     4          xmlns:NC="http://home.netscape.com/NC-rdf#"
     5          xmlns:ANIMALS="http://www.some-fictitious-zoo.com/rdf#">
     7    <ANIMALS:Class RDF:about="http://www.some-fictitious-zoo.com/arachnids">
     8      <ANIMALS:name>Arachnids</ANIMALS:name>
     9    </ANIMALS:Class>
    11        <RDF:Description RDF:about="http://www.some-fictitious-zoo.com/arachnids/tarantula" ANIMALS:specimens="3">
    12          <ANIMALS:name>Tarantula</ANIMALS:name>
    13          <ANIMALS:species>Avicularia avicularia</ANIMALS:species>
    14        </RDF:Description>
    16    <ANIMALS:Class RDF:about="http://www.some-fictitious-zoo.com/birds">
    17      <ANIMALS:name>Birds</ANIMALS:name>
    18      <ANIMALS:keeper resource="http://www.some-fictitious-zoo.com/humans/sarah"/>
    19    </ANIMALS:Class>
    21        <RDF:Description RDF:about="http://www.some-fictitious-zoo.com/birds/emu" ANIMALS:specimens="12">
    22          <ANIMALS:name>Emu</ANIMALS:name>
    23          <ANIMALS:species>Dromaius novaehollandiae</ANIMALS:species>
    24        </RDF:Description>
    26        <RDF:Description RDF:about="http://www.some-fictitious-zoo.com/birds/barnowl" ANIMALS:specimens="4">
    27          <ANIMALS:name>Barn Owl</ANIMALS:name>
    28          <ANIMALS:species>Tyto alba</ANIMALS:species>
    29        </RDF:Description>
    31        <RDF:Description RDF:about="http://www.some-fictitious-zoo.com/birds/raven" ANIMALS:specimens="0">
    32          <ANIMALS:name>Raven</ANIMALS:name>
    33          <ANIMALS:species>Corvus corax</ANIMALS:species>
    34        </RDF:Description>
    36    <ANIMALS:Class RDF:about="http://www.some-fictitious-zoo.com/crustaceans">
    37      <ANIMALS:name>Crustaceans</ANIMALS:name>
    38      <ANIMALS:keeper resource="http://www.some-fictitious-zoo.com/humans/robert"/>
    39    </ANIMALS:Class>
    41    <ANIMALS:Class RDF:about="http://www.some-fictitious-zoo.com/fish">
    42      <ANIMALS:name>Fish</ANIMALS:name>
    43    </ANIMALS:Class>
    45        <RDF:Description RDF:about="http://www.some-fictitious-zoo.com/fish/cod" ANIMALS:specimens="0">
    46          <ANIMALS:name>Cod</ANIMALS:name>
    47          <ANIMALS:species>Gadus morhua</ANIMALS:species>
    48        </RDF:Description>
    50        <RDF:Description RDF:about="http://www.some-fictitious-zoo.com/fish/swordfish" ANIMALS:specimens="3">
    51          <ANIMALS:name>Swordfish</ANIMALS:name>
    52          <ANIMALS:species>Xiphias gladius</ANIMALS:species>
    53        </RDF:Description>
    55    <ANIMALS:Class RDF:about="http://www.some-fictitious-zoo.com/mammals">
    56      <ANIMALS:name>Mammals</ANIMALS:name>
    57    </ANIMALS:Class>
    59        <RDF:Description RDF:about="http://www.some-fictitious-zoo.com/mammals/lion">
    60          <ANIMALS:name>Lion</ANIMALS:name>
    61          <ANIMALS:species>Panthera leo</ANIMALS:species>
    62          <ANIMALS:specimens NC:parseType="Integer">4</ANIMALS:specimens>
    63          <ANIMALS:specimensAsString>4</ANIMALS:specimensAsString>
    64        </RDF:Description>
    66        <RDF:Description RDF:about="http://www.some-fictitious-zoo.com/mammals/hippopotamus">
    67          <ANIMALS:name>HIPPOPOTAMUS</ANIMALS:name>
    68          <ANIMALS:species>Hippopotamus amphibius</ANIMALS:species>
    69          <ANIMALS:specimens NC:parseType="Integer">2</ANIMALS:specimens>
    70          <ANIMALS:specimensAsString>2</ANIMALS:specimensAsString>
    71        </RDF:Description>
    73        <RDF:Description RDF:about="http://www.some-fictitious-zoo.com/mammals/africanelephant">
    74          <ANIMALS:name>African Elephant</ANIMALS:name>
    75          <ANIMALS:species>Loxodonta africana</ANIMALS:species>
    76          <ANIMALS:specimens NC:parseType="Integer">14</ANIMALS:specimens>
    77          <ANIMALS:specimensAsString>14</ANIMALS:specimensAsString>
    78        </RDF:Description>
    80        <RDF:Description RDF:about="http://www.some-fictitious-zoo.com/mammals/llama">
    81          <ANIMALS:name>LLAMA</ANIMALS:name>
    82          <ANIMALS:species>Lama glama</ANIMALS:species>
    83          <ANIMALS:specimens NC:parseType="Integer">5</ANIMALS:specimens>
    84          <ANIMALS:specimensAsString>5</ANIMALS:specimensAsString>
    85        </RDF:Description>
    87        <RDF:Description RDF:about="http://www.some-fictitious-zoo.com/mammals/polarbear">
    88          <ANIMALS:name>Polar Bear</ANIMALS:name>
    89          <ANIMALS:species>Thalarctos maritimus</ANIMALS:species>
    90          <ANIMALS:specimens NC:parseType="Integer">20</ANIMALS:specimens>
    91          <ANIMALS:specimensAsString>20</ANIMALS:specimensAsString>
    92        </RDF:Description>
    94        <RDF:Description RDF:about="http://www.some-fictitious-zoo.com/mammals/aardvark">
    95          <ANIMALS:name>aardvark</ANIMALS:name>
    96          <ANIMALS:species>Orycteropus afer</ANIMALS:species>
    97          <ANIMALS:specimens NC:parseType="Integer">2</ANIMALS:specimens>
    98          <ANIMALS:specimensAsString>2</ANIMALS:specimensAsString>
    99        </RDF:Description>
   101        <RDF:Description RDF:about="http://www.some-fictitious-zoo.com/mammals/ninebandedarmadillo">
   102          <ANIMALS:name>Nine-banded Armadillo</ANIMALS:name>
   103          <ANIMALS:species>Dasypus novemcinctus</ANIMALS:species>
   104          <ANIMALS:specimens NC:parseType="Integer">1</ANIMALS:specimens>
   105          <ANIMALS:specimensAsString>1</ANIMALS:specimensAsString>
   106        </RDF:Description>
   108        <RDF:Description RDF:about="http://www.some-fictitious-zoo.com/mammals/gorilla">
   109          <ANIMALS:name>Gorilla</ANIMALS:name>
   110          <ANIMALS:species>Gorilla gorilla</ANIMALS:species>
   111          <ANIMALS:specimens NC:parseType="Integer">7</ANIMALS:specimens>
   112          <ANIMALS:specimensAsString>7</ANIMALS:specimensAsString>
   113        </RDF:Description>
   115    <ANIMALS:Class RDF:about="http://www.some-fictitious-zoo.com/reptiles">
   116      <ANIMALS:name>Reptiles</ANIMALS:name>
   117      <ANIMALS:keeper resource="http://www.some-fictitious-zoo.com/humans/robert"/>
   118    </ANIMALS:Class>
   120        <RDF:Description RDF:about="http://www.some-fictitious-zoo.com/reptiles/anaconda" ANIMALS:specimens="1">
   121          <ANIMALS:name>Anaconda</ANIMALS:name>
   122          <ANIMALS:species>Eunectes murinus</ANIMALS:species>
   123        </RDF:Description>
   125        <RDF:Description RDF:about="http://www.some-fictitious-zoo.com/reptiles/chameleon" ANIMALS:specimens="2">
   126          <ANIMALS:name>Chameleon</ANIMALS:name>
   127          <ANIMALS:species>Chamaeleo chamaelon</ANIMALS:species>
   128        </RDF:Description>
   130   <RDF:Seq RDF:about="http://www.some-fictitious-zoo.com/some-animals" ANIMALS:name="Zoo Animals">
   131     <RDF:li RDF:resource="http://www.some-fictitious-zoo.com/arachnids"/>
   132     <RDF:li RDF:resource="http://www.some-fictitious-zoo.com/birds"/>
   133   </RDF:Seq>
   135   <RDF:Seq RDF:about="http://www.some-fictitious-zoo.com/all-animals" ANIMALS:name="Zoo Animals">
   136     <RDF:li>
   137       <RDF:Seq RDF:about="http://www.some-fictitious-zoo.com/arachnids">
   138         <RDF:li RDF:resource="http://www.some-fictitious-zoo.com/arachnids/tarantula"/>
   139       </RDF:Seq>
   140     </RDF:li>
   141     <RDF:li>
   142       <RDF:Seq RDF:about="http://www.some-fictitious-zoo.com/birds">
   143         <RDF:li RDF:resource="http://www.some-fictitious-zoo.com/birds/emu"/>
   144         <RDF:li RDF:resource="http://www.some-fictitious-zoo.com/birds/barnowl"/>
   145         <RDF:li RDF:resource="http://www.some-fictitious-zoo.com/birds/raven"/>
   146       </RDF:Seq>
   147     </RDF:li>
   148     <RDF:li>
   149       <RDF:Seq RDF:about="http://www.some-fictitious-zoo.com/crustaceans"/>
   150     </RDF:li>
   151     <RDF:li>
   152       <RDF:Seq RDF:about="http://www.some-fictitious-zoo.com/fish">
   153         <RDF:li RDF:resource="http://www.some-fictitious-zoo.com/fish/cod"/>
   154         <RDF:li RDF:resource="http://www.some-fictitious-zoo.com/fish/swordfish"/>
   155       </RDF:Seq>
   156     </RDF:li>
   157     <RDF:li>
   158       <RDF:Seq RDF:about="http://www.some-fictitious-zoo.com/mammals">
   159         <RDF:li RDF:resource="http://www.some-fictitious-zoo.com/mammals/lion"/>
   160         <RDF:li RDF:resource="http://www.some-fictitious-zoo.com/mammals/hippopotamus"/>
   161         <RDF:li RDF:resource="http://www.some-fictitious-zoo.com/mammals/africanelephant"/>
   162         <RDF:li RDF:resource="http://www.some-fictitious-zoo.com/mammals/llama"/>
   163         <RDF:li RDF:resource="http://www.some-fictitious-zoo.com/mammals/polarbear"/>
   164         <RDF:li RDF:resource="http://www.some-fictitious-zoo.com/mammals/aardvark"/>
   165         <RDF:li RDF:resource="http://www.some-fictitious-zoo.com/mammals/ninebandedarmadillo"/>
   166         <RDF:li RDF:resource="http://www.some-fictitious-zoo.com/mammals/gorilla"/>
   167       </RDF:Seq>
   168     </RDF:li>
   169     <RDF:li>
   170       <RDF:Seq RDF:about="http://www.some-fictitious-zoo.com/reptiles">
   171         <RDF:li RDF:resource="http://www.some-fictitious-zoo.com/reptiles/anaconda"/>
   172         <RDF:li RDF:resource="http://www.some-fictitious-zoo.com/reptiles/chameleon"/>
   173       </RDF:Seq>
   174     </RDF:li>
   175   </RDF:Seq>
   177   <RDF:Seq RDF:about="http://www.some-fictitious-zoo.com/humans" ANIMALS:name="Humans">
   178     <RDF:li RDF:resource="http://www.some-fictitious-zoo.com/humans/sarah"/>
   179     <RDF:li RDF:resource="http://www.some-fictitious-zoo.com/humans/robert"/>
   180   </RDF:Seq>
   182   <RDF:Seq RDF:about="http://www.some-fictitious-zoo.com/sarahs-pets" ANIMALS:name="Sarah's Pets">
   183     <RDF:li RDF:resource="http://www.some-fictitious-zoo.com/birds/emu"/>
   184     <RDF:li RDF:resource="http://www.some-fictitious-zoo.com/arachnids/tarantula"/>
   185   </RDF:Seq>
   187   <RDF:Seq RDF:about="http://www.some-fictitious-zoo.com/roberts-pets" ANIMALS:name="Robert's Pets">
   188     <RDF:li RDF:resource="http://www.some-fictitious-zoo.com/reptiles/chameleon"/>
   189     <RDF:li RDF:resource="http://www.some-fictitious-zoo.com/arachnids/tarantula"/>
   190     <RDF:li RDF:resource="http://www.some-fictitious-zoo.com/mammals/llama"/>
   191   </RDF:Seq>
   193   <RDF:Description RDF:about="http://www.some-fictitious-zoo.com/humans/sarah" ANIMALS:name="Sarah">
   194     <ANIMALS:pets resource="http://www.some-fictitious-zoo.com/sarahs-pets"/>
   195     <ANIMALS:favoriteAnimal resource="http://www.some-fictitious-zoo.com/birds/emu"/>
   196     <ANIMALS:favoriteAnimal resource="http://www.some-fictitious-zoo.com/mammals/polarbear"/>
   197     <ANIMALS:favoriteAnimal resource="http://www.some-fictitious-zoo.com/arachnids/tarantula"/>
   198     <ANIMALS:description>
   199       Sarah became caretaker of the Fictitious Zoo's emu exhibit in 2001. With so
   200       many emus living there, she has a lot to do!
   201     </ANIMALS:description>
   202   </RDF:Description>
   204   <RDF:Description RDF:about="http://www.some-fictitious-zoo.com/humans/robert" ANIMALS:name="Robert">
   205     <ANIMALS:pets resource="http://www.some-fictitious-zoo.com/roberts-pets"/>
   206     <ANIMALS:favoriteAnimal resource="http://www.some-fictitious-zoo.com/arachnids/tarantula"/>
   207     <ANIMALS:favoriteAnimal resource="http://www.some-fictitious-zoo.com/reptiles/anaconda"/>
   208     <ANIMALS:favoriteAnimal resource="http://www.some-fictitious-zoo.com/reptiles/chameleon"/>
   209     <ANIMALS:favoriteAnimal resource="http://www.some-fictitious-zoo.com/mammals/africanelephant"/>
   210     <ANIMALS:description>
   211       Robert helps visitors to the Fictitious Zoo's reptile pavilion learn
   212       more about some of the more unusual creatures that live there.
   213     </ANIMALS:description>
   214     <ANIMALS:lastName>Sanderson</ANIMALS:lastName>
   215   </RDF:Description>
   217   <RDF:Seq RDF:about="http://www.some-fictitious-zoo.com/marked" ANIMALS:name="Marked">
   218     <RDF:li RDF:resource="http://www.some-fictitious-zoo.com/humans/sarah"/>
   219     <RDF:li RDF:resource="http://www.some-fictitious-zoo.com/mammals"/>
   220     <RDF:li RDF:resource="http://www.some-fictitious-zoo.com/crustaceans"/>
   221     <RDF:li RDF:resource="http://www.some-fictitious-zoo.com/birds/emu"/>
   222   </RDF:Seq>
   224 </RDF:RDF>

mercurial