Changes between Version 87 and Version 88 of Taskforces/FCS/FCS-Specification-Draft


Ignore:
Timestamp:
05/24/22 16:08:22 (2 years ago)
Author:
Erik Körner
Comment:

Update example XML formatting (unify indent to 2 spaces (mostly), fix some broken indents)

Legend:

Unmodified
Added
Removed
Modified
  • Taskforces/FCS/FCS-Specification-Draft

    v87 v88  
    264264{{{#!xml
    265265<ed:EndpointDescription xmlns:ed="http://clarin.eu/fcs/endpoint-description" version="2">
    266     <ed:Capabilities>
    267         <ed:Capability>http://clarin.eu/fcs/capability/basic-search</ed:Capability>
    268     </ed:Capabilities>
    269     <ed:SupportedDataViews>
    270         <ed:SupportedDataView id="hits" delivery-policy="send-by-default">application/x-clarin-fcs-hits+xml</ed:SupportedDataView>
    271     </ed:SupportedDataViews>
    272     <ed:Resources>
    273         <!-- just one top-level resource at the Endpoint -->
    274         <ed:Resource pid="http://hdl.handle.net/4711/0815">
    275             <ed:Title xml:lang="de">Goethe Korpus</ed:Title>
    276             <ed:Title xml:lang="en">Goethe corpus</ed:Title>
    277             <ed:Description xml:lang="de">Das Goethe-Korpus des IDS Mannheim.</ed:Description>
    278             <ed:Description xml:lang="en">The Goethe corpus of IDS Mannheim.</ed:Description>
    279             <ed:LandingPageURI>http://repos.example.org/corpus1.html</ed:LandingPageURI>
    280             <ed:Languages>
    281                 <ed:Language>deu</ed:Language>
    282             </ed:Languages>
    283             <ed:AvailableDataViews ref="hits" />
     266  <ed:Capabilities>
     267    <ed:Capability>http://clarin.eu/fcs/capability/basic-search</ed:Capability>
     268  </ed:Capabilities>
     269  <ed:SupportedDataViews>
     270    <ed:SupportedDataView id="hits" delivery-policy="send-by-default">application/x-clarin-fcs-hits+xml</ed:SupportedDataView>
     271  </ed:SupportedDataViews>
     272  <ed:Resources>
     273    <!-- just one top-level resource at the Endpoint -->
     274    <ed:Resource pid="http://hdl.handle.net/4711/0815">
     275      <ed:Title xml:lang="de">Goethe Korpus</ed:Title>
     276      <ed:Title xml:lang="en">Goethe corpus</ed:Title>
     277      <ed:Description xml:lang="de">Das Goethe-Korpus des IDS Mannheim.</ed:Description>
     278      <ed:Description xml:lang="en">The Goethe corpus of IDS Mannheim.</ed:Description>
     279      <ed:LandingPageURI>http://repos.example.org/corpus1.html</ed:LandingPageURI>
     280      <ed:Languages>
     281        <ed:Language>deu</ed:Language>
     282      </ed:Languages>
     283      <ed:AvailableDataViews ref="hits" />
     284    </ed:Resource>
     285  </ed:Resources>
     286</ed:EndpointDescription>
     287}}}
     288[#REF_Example_4 Example 4] shows a simple Endpoint Description for an Endpoint that only supports the ''Basic Search'' Capability and only provides the Generic Hits Data View, which is indicated by a `<ed:SupportedDataView>` element. This element carries an `@id` attribute with a value of `hits`, the recommended value for the short identifier, and indicates a delivery policy of ''send-by-default'' by the `@delivery-policy` attribute. It only provides one top-level resource identified by the persistent identifier `http://hdl.handle.net/4711/0815`. The resource has a title as well as a description in German and English. A landing page is located at `http://repos.example.org/corpus1.html`. The predominant language in the resource contents is German. Only the Generic Hits Data View is supported for this resource, because the `<ed:AvailableDataViews>` element only references the `<ed:SupporedDataView>` element with the `@id` with a value of `hits`.
     289
     290[=#REF_Example_5]Example 5:
     291{{{#!xml
     292<ed:EndpointDescription xmlns:ed="http://clarin.eu/fcs/endpoint-description" version="2">
     293  <ed:Capabilities>
     294    <ed:Capability>http://clarin.eu/fcs/capability/basic-search</ed:Capability>
     295  </ed:Capabilities>
     296  <ed:SupportedDataViews>
     297    <ed:SupportedDataView id="hits" delivery-policy="send-by-default">application/x-clarin-fcs-hits+xml</ed:SupportedDataView>
     298    <ed:SupportedDataView id="cmdi" delivery-policy="need-to-request">application/x-cmdi+xml</ed:SupportedDataView>
     299  </ed:SupportedDataViews>
     300  <ed:Resources>
     301    <!-- top-level resource 1 -->
     302    <ed:Resource pid="http://hdl.handle.net/4711/0815">
     303      <ed:Title xml:lang="de">Goethe Korpus</ed:Title>
     304      <ed:Title xml:lang="en">Goethe corpus</ed:Title>
     305      <ed:Description xml:lang="de">Das Goethe-Korpus des IDS Mannheim.</ed:Description>
     306      <ed:Description xml:lang="en">The Goethe corpus of IDS Mannheim.</ed:Description>
     307      <ed:LandingPageURI>http://repos.example.org/corpus1.html</ed:LandingPageURI>
     308      <ed:Languages>
     309        <ed:Language>deu</ed:Language>
     310      </ed:Languages>
     311      <ed:AvailableDataViews ref="hits" />
     312    </ed:Resource>
     313    <!-- top-level resource 2 -->
     314    <ed:Resource pid="http://hdl.handle.net/4711/0816">
     315      <ed:Title xml:lang="de">Zeitungskorpus des Mannheimer Morgen</ed:Title>
     316      <ed:Title xml:lang="en">Mannheimer Morgen newspaper corpus</ed:Title>
     317      <ed:LandingPageURI>http://repos.example.org/corpus2.html</ed:LandingPageURI>
     318      <ed:Languages>
     319        <ed:Language>deu</ed:Language>
     320      </ed:Languages>
     321      <ed:AvailableDataViews ref="hits cmdi" />
     322      <ed:Resources>
     323        <!-- sub-resource 1 of top-level resource 2 -->
     324        <ed:Resource pid="http://hdl.handle.net/4711/0816-1">
     325          <ed:Title xml:lang="de">Zeitungskorpus des Mannheimer Morgen (vor 1990)</ed:Title>
     326          <ed:Title xml:lang="en">Mannheimer Morgen newspaper corpus (before 1990)</ed:Title>
     327          <ed:LandingPageURI>http://repos.example.org/corpus2.html#sub1</ed:LandingPageURI>
     328          <ed:Languages>
     329            <ed:Language>deu</ed:Language>
     330          </ed:Languages>
     331          <ed:AvailableDataViews ref="hits cmdi" />
    284332        </ed:Resource>
    285     </ed:Resources>
    286 </ed:EndpointDescription>
    287 }}}
    288 [#REF_Example_4 Example 4] shows a simple Endpoint Description for an Endpoint that only supports the ''Basic Search'' Capability and only provides the Generic Hits Data View, which is indicated by a `<ed:SupportedDataView>` element. This element carries an `@id` attribute with a value of `hits`, the recommended value for the short identifier, and indicates a delivery policy of ''send-by-default'' by the `@delivery-policy` attribute. It only provides one top-level resource identified by the persistent identifier `http://hdl.handle.net/4711/0815`. The resource has a title as well as a description in German and English. A landing page is located at `http://repos.example.org/corpus1.html`. The predominant language in the resource contents is German. Only the Generic Hits Data View is supported for this resource, because the `<ed:AvailableDataViews>` element only references the `<ed:SupporedDataView>` element with the `@id` with a value of `hits`.
    289 
    290 [=#REF_Example_5]Example 5:
    291 {{{#!xml
    292 <ed:EndpointDescription xmlns:ed="http://clarin.eu/fcs/endpoint-description" version="2">
    293     <ed:Capabilities>
    294         <ed:Capability>http://clarin.eu/fcs/capability/basic-search</ed:Capability>
    295     </ed:Capabilities>
    296     <ed:SupportedDataViews>
    297         <ed:SupportedDataView id="hits" delivery-policy="send-by-default">application/x-clarin-fcs-hits+xml</ed:SupportedDataView>
    298         <ed:SupportedDataView id="cmdi" delivery-policy="need-to-request">application/x-cmdi+xml</ed:SupportedDataView>
    299     </ed:SupportedDataViews>
    300     <ed:Resources>
    301         <!-- top-level resource 1 -->
    302         <ed:Resource pid="http://hdl.handle.net/4711/0815">
    303             <ed:Title xml:lang="de">Goethe Korpus</ed:Title>
    304             <ed:Title xml:lang="en">Goethe corpus</ed:Title>
    305             <ed:Description xml:lang="de">Das Goethe-Korpus des IDS Mannheim.</ed:Description>
    306             <ed:Description xml:lang="en">The Goethe corpus of IDS Mannheim.</ed:Description>
    307             <ed:LandingPageURI>http://repos.example.org/corpus1.html</ed:LandingPageURI>
    308             <ed:Languages>
    309                 <ed:Language>deu</ed:Language>
    310             </ed:Languages>
    311             <ed:AvailableDataViews ref="hits" />
     333        <!-- sub-resource 2 of top-level resource 2 -->
     334        <ed:Resource pid="http://hdl.handle.net/4711/0816-2">
     335          <ed:Title xml:lang="de">Zeitungskorpus des Mannheimer Morgen (nach 1990)</ed:Title>
     336          <ed:Title xml:lang="en">Mannheimer Morgen newspaper corpus (after 1990)</ed:Title>
     337          <ed:LandingPageURI>http://repos.example.org/corpus2.html#sub2</ed:LandingPageURI>
     338          <ed:Languages>
     339            <ed:Language>deu</ed:Language>
     340          </ed:Languages>
     341          <ed:AvailableDataViews ref="hits cmdi" />
    312342        </ed:Resource>
    313         <!-- top-level resource 2 -->
    314         <ed:Resource pid="http://hdl.handle.net/4711/0816">
    315             <ed:Title xml:lang="de">Zeitungskorpus des Mannheimer Morgen</ed:Title>
    316             <ed:Title xml:lang="en">Mannheimer Morgen newspaper corpus</ed:Title>
    317             <ed:LandingPageURI>http://repos.example.org/corpus2.html</ed:LandingPageURI>
    318             <ed:Languages>
    319                 <ed:Language>deu</ed:Language>
    320             </ed:Languages>
    321             <ed:AvailableDataViews ref="hits cmdi" />
    322             <ed:Resources>
    323                 <!-- sub-resource 1 of top-level resource 2 -->
    324                 <ed:Resource pid="http://hdl.handle.net/4711/0816-1">
    325                     <ed:Title xml:lang="de">Zeitungskorpus des Mannheimer Morgen (vor 1990)</ed:Title>
    326                     <ed:Title xml:lang="en">Mannheimer Morgen newspaper corpus (before 1990)</ed:Title>
    327                     <ed:LandingPageURI>http://repos.example.org/corpus2.html#sub1</ed:LandingPageURI>
    328                     <ed:Languages>
    329                         <ed:Language>deu</ed:Language>
    330                     </ed:Languages>
    331                     <ed:AvailableDataViews ref="hits cmdi" />
    332                 </ed:Resource>
    333                 <!-- sub-resource 2 of top-level resource 2 -->
    334                 <ed:Resource pid="http://hdl.handle.net/4711/0816-2">
    335                     <ed:Title xml:lang="de">Zeitungskorpus des Mannheimer Morgen (nach 1990)</ed:Title>
    336                     <ed:Title xml:lang="en">Mannheimer Morgen newspaper corpus (after 1990)</ed:Title>
    337                     <ed:LandingPageURI>http://repos.example.org/corpus2.html#sub2</ed:LandingPageURI>
    338                     <ed:Languages>
    339                         <ed:Language>deu</ed:Language>
    340                     </ed:Languages>
    341                     <ed:AvailableDataViews ref="hits cmdi" />
    342                 </ed:Resource>
    343             </ed:Resources>
    344         </ed:Resource>
    345     </ed:Resources>
     343      </ed:Resources>
     344    </ed:Resource>
     345  </ed:Resources>
    346346</ed:EndpointDescription>
    347347}}}
     
    364364    <ed:SupportedLayer id="lemma" result-id="http://spraakbanken.gu.se/ns/fcs/layer/lemma">lemma</ed:SupportedLayer>
    365365    <ed:SupportedLayer id="pos" result-id="http://spraakbanken.gu.se/ns/fcs/layer/pos"
    366                     alt-value-info="SUC tagset"
    367                     alt-value-info-uri="https://spraakbanken.gu.se/parole/Docs/SUC2.0-manual.pdf"
    368                     qualifier="suc">pos</ed:SupportedLayer>
     366                       alt-value-info="SUC tagset"
     367                       alt-value-info-uri="https://spraakbanken.gu.se/parole/Docs/SUC2.0-manual.pdf"
     368                       qualifier="suc">pos</ed:SupportedLayer>
    369369    <ed:SupportedLayer id="pos2" result-id="http://spraakbanken.gu.se/ns/fcs/layer/pos2"
    370                     alt-value-info="2nd tagset"
    371                     qualifier="t2">pos</ed:SupportedLayer>
     370                       alt-value-info="2nd tagset"
     371                       qualifier="t2">pos</ed:SupportedLayer>
    372372  </ed:SupportedLayers>
    373373
    374     <ed:Resources>
    375         <!-- just one top-level resource at the Endpoint -->
    376         <ed:Resource pid="hdl:10794/suc">
    377           <ed:Title xml:lang="sv">SUC-korpusen</ed:Title>
    378           <ed:Title xml:lang="en">The SUC corpus</ed:Title>
    379           <ed:Description xml:lang="sv">Stockholm-Umeå-korpusen hos Språkbanken.</ed:Description>
    380           <ed:Description xml:lang="en">The Stockholm-Umeå corpus at Språkbanken.</ed:Description>
    381           <ed:LandingPageURI>https://spraakbanken.gu.se/resurser/suc</ed:LandingPageURI>
    382           <ed:Languages>
    383              <ed:Language>swe</ed:Language>
    384           </ed:Languages>
    385           <ed:AvailableDataViews ref="hits adv" />
    386           <ed:AvailableLayers ref="word lemma pos pos2" />
    387         </ed:Resource>
    388     </ed:Resources>
     374  <ed:Resources>
     375    <!-- just one top-level resource at the Endpoint -->
     376    <ed:Resource pid="hdl:10794/suc">
     377      <ed:Title xml:lang="sv">SUC-korpusen</ed:Title>
     378      <ed:Title xml:lang="en">The SUC corpus</ed:Title>
     379      <ed:Description xml:lang="sv">Stockholm-Umeå-korpusen hos Språkbanken.</ed:Description>
     380      <ed:Description xml:lang="en">The Stockholm-Umeå corpus at Språkbanken.</ed:Description>
     381      <ed:LandingPageURI>https://spraakbanken.gu.se/resurser/suc</ed:LandingPageURI>
     382      <ed:Languages>
     383        <ed:Language>swe</ed:Language>
     384      </ed:Languages>
     385      <ed:AvailableDataViews ref="hits adv" />
     386      <ed:AvailableLayers ref="word lemma pos pos2" />
     387    </ed:Resource>
     388  </ed:Resources>
    389389</ed:EndpointDescription>
    390390}}}
     
    611611{{{#!xml
    612612<Advanced>
    613     <Segments unit="items">
    614         <Segment id="s1"  start="1"  end="1"
    615             ref="http://hdl.handle.net/4711/123456789?urlappend=%3Fplay=0:173"/>
    616         <Segment id="s2"  start="3"  end="4"
    617             ref="http://hdl.handle.net/4711/123456789?urlappend=%3Fplay=173:304"/>
    618         <Segment id="s3"  start="6"  end="7"
    619             ref="http://hdl.handle.net/4711/123456789?urlappend=%3Fplay=173:304"/>
    620         <Segment id="s4"  start="9"  end="10"
    621             ref="http://hdl.handle.net/4711/123456789?urlappend=%3Fplay=304:480"/>
    622         <Segment id="s5"  start="12" end="16"
    623             ref="http://hdl.handle.net/4711/123456789?urlappend=%3Fplay=480:1119"/>
    624         <Segment id="s6"  start="18" end="22"
    625             ref="http://hdl.handle.net/4711/123456789?urlappend=%3Fplay=1339:1901"/>
    626         <Segment id="s7"  start="24" end="27"
    627             ref="http://hdl.handle.net/4711/123456789?urlappend=%3Fplay=1901:2427"/>
    628         <Segment id="s8"  start="29" end="32"
    629             ref="http://hdl.handle.net/4711/123456789?urlappend=%3Fplay=3084:3493"/>
    630         <Segment id="s9"  start="34" end="36"
    631             ref="http://hdl.handle.net/4711/123456789?urlappend=%3Fplay=3493:3754"/>
    632         <Segment id="s10" start="38" end="43"
    633             ref="http://hdl.handle.net/4711/123456789?urlappend=%3Fplay=3754:4274"/>
    634     </Segments>
    635 
    636     <Layers>
    637         <Layer id="http://endpoint.example.org/Layers/orth1">
    638             <Span ref="s1">t</Span>
    639             <Span ref="s2">da</Span>
    640             <Span ref="s3">'s</Span>
    641             <Span ref="s4">de</Span>
    642             <Span ref="s5">enige</Span>
    643             <Span ref="s6">echte</Span>
    644             <Span ref="s7">hoop</Span>
    645             <Span ref="s8">voor</Span>
    646             <Span ref="s9">ons</Span>
    647             <Span ref="s10">mensen</Span>
    648         </Layer>
    649 
    650         <Layer id="http://endpoint.example.org/Layers/pos1">
    651             <Span ref="s1"  alt-value="SPEC(afgebr)">X</Span>
    652             <Span ref="s2"  alt-value="VNW(aanw,pron,stan,vol,3o,ev)">PRON</Span>
    653             <Span ref="s3"  alt-value="WW(pv,tgw,ev)">VERB</Span>
    654             <Span ref="s4"  alt-value="LID(bep,stan,rest)">DET</Span>
    655             <Span ref="s5"  alt-value="VNW(onbep,det,stan,prenom,met-e,rest)">DET</Span>
    656             <Span ref="s6"  alt-value="ADJ(prenom,basis,met-e,stan)">ADJ</Span>
    657             <Span ref="s7"  alt-value="N(soort,ev,basis,zijd,stan)">NOUN</Span>
    658             <Span ref="s8"  alt-value="VZ(init)">ADP</Span>
    659             <Span ref="s9"  alt-value="VNW(pr,pron,obl,vol,1,mv)">PRON</Span>
    660             <Span ref="s10" alt-value="N(soort,mv,basis)">NOUN</Span>
    661         </Layer>
    662 
    663         <Layer id="http://endpoint.example.org/Layers/lemma1">
    664             <Span ref="s1">_</Span>
    665             <Span ref="s2">dat</Span>
    666             <Span ref="s3">zijn</Span>
    667             <Span ref="s4" >de</Span>
    668             <Span ref="s5">enig</Span>
    669             <Span ref="s6" highlight="h1">echt</Span>
    670             <Span ref="s7" highlight="h1">hoop</Span>
    671             <Span ref="s8">voor</Span>
    672             <Span ref="s9">ons</Span>
    673             <Span ref="s10">mens</Span>
    674         </Layer>
    675 
    676         <Layer id="http://endpoint.example.org/Layers/phon">
    677             <Span ref="s1">t@</Span>
    678             <Span ref="s2" highlight="h2">dAz</Span>
    679             <Span ref="s3">dAz</Span>
    680             <Span ref="s4">d@</Span>
    681             <Span ref="s5">en@G@</Span>
    682             <Span ref="s6">Ext@</Span>
    683             <Span ref="s7">hop</Span>
    684             <Span ref="s8">for</Span>
    685             <Span ref="s9">Ons</Span>
    686             <Span ref="s10">mEns@</Span>
    687         </Layer>
    688     </Layers>
     613  <Segments unit="items">
     614    <Segment id="s1"  start="1"  end="1"
     615        ref="http://hdl.handle.net/4711/123456789?urlappend=%3Fplay=0:173"/>
     616    <Segment id="s2"  start="3"  end="4"
     617        ref="http://hdl.handle.net/4711/123456789?urlappend=%3Fplay=173:304"/>
     618    <Segment id="s3"  start="6"  end="7"
     619        ref="http://hdl.handle.net/4711/123456789?urlappend=%3Fplay=173:304"/>
     620    <Segment id="s4"  start="9"  end="10"
     621        ref="http://hdl.handle.net/4711/123456789?urlappend=%3Fplay=304:480"/>
     622    <Segment id="s5"  start="12" end="16"
     623        ref="http://hdl.handle.net/4711/123456789?urlappend=%3Fplay=480:1119"/>
     624    <Segment id="s6"  start="18" end="22"
     625        ref="http://hdl.handle.net/4711/123456789?urlappend=%3Fplay=1339:1901"/>
     626    <Segment id="s7"  start="24" end="27"
     627        ref="http://hdl.handle.net/4711/123456789?urlappend=%3Fplay=1901:2427"/>
     628    <Segment id="s8"  start="29" end="32"
     629        ref="http://hdl.handle.net/4711/123456789?urlappend=%3Fplay=3084:3493"/>
     630    <Segment id="s9"  start="34" end="36"
     631        ref="http://hdl.handle.net/4711/123456789?urlappend=%3Fplay=3493:3754"/>
     632    <Segment id="s10" start="38" end="43"
     633        ref="http://hdl.handle.net/4711/123456789?urlappend=%3Fplay=3754:4274"/>
     634  </Segments>
     635
     636  <Layers>
     637    <Layer id="http://endpoint.example.org/Layers/orth1">
     638      <Span ref="s1">t</Span>
     639      <Span ref="s2">da</Span>
     640      <Span ref="s3">'s</Span>
     641      <Span ref="s4">de</Span>
     642      <Span ref="s5">enige</Span>
     643      <Span ref="s6">echte</Span>
     644      <Span ref="s7">hoop</Span>
     645      <Span ref="s8">voor</Span>
     646      <Span ref="s9">ons</Span>
     647      <Span ref="s10">mensen</Span>
     648    </Layer>
     649
     650    <Layer id="http://endpoint.example.org/Layers/pos1">
     651      <Span ref="s1"  alt-value="SPEC(afgebr)">X</Span>
     652      <Span ref="s2"  alt-value="VNW(aanw,pron,stan,vol,3o,ev)">PRON</Span>
     653      <Span ref="s3"  alt-value="WW(pv,tgw,ev)">VERB</Span>
     654      <Span ref="s4"  alt-value="LID(bep,stan,rest)">DET</Span>
     655      <Span ref="s5"  alt-value="VNW(onbep,det,stan,prenom,met-e,rest)">DET</Span>
     656      <Span ref="s6"  alt-value="ADJ(prenom,basis,met-e,stan)">ADJ</Span>
     657      <Span ref="s7"  alt-value="N(soort,ev,basis,zijd,stan)">NOUN</Span>
     658      <Span ref="s8"  alt-value="VZ(init)">ADP</Span>
     659      <Span ref="s9"  alt-value="VNW(pr,pron,obl,vol,1,mv)">PRON</Span>
     660      <Span ref="s10" alt-value="N(soort,mv,basis)">NOUN</Span>
     661    </Layer>
     662
     663    <Layer id="http://endpoint.example.org/Layers/lemma1">
     664      <Span ref="s1">_</Span>
     665      <Span ref="s2">dat</Span>
     666      <Span ref="s3">zijn</Span>
     667      <Span ref="s4">de</Span>
     668      <Span ref="s5">enig</Span>
     669      <Span ref="s6" highlight="h1">echt</Span>
     670      <Span ref="s7" highlight="h1">hoop</Span>
     671      <Span ref="s8">voor</Span>
     672      <Span ref="s9">ons</Span>
     673      <Span ref="s10">mens</Span>
     674    </Layer>
     675
     676    <Layer id="http://endpoint.example.org/Layers/phon">
     677      <Span ref="s1">t@</Span>
     678      <Span ref="s2" highlight="h2">dAz</Span>
     679      <Span ref="s3">dAz</Span>
     680      <Span ref="s4">d@</Span>
     681      <Span ref="s5">en@G@</Span>
     682      <Span ref="s6">Ext@</Span>
     683      <Span ref="s7">hop</Span>
     684      <Span ref="s8">for</Span>
     685      <Span ref="s9">Ons</Span>
     686      <Span ref="s10">mEns@</Span>
     687    </Layer>
     688  </Layers>
    689689</Advanced>
    690690}}}
     
    802802    <ed:EndpointDescription xmlns:ed="http://clarin.eu/fcs/endpoint-description" version="1">
    803803      <ed:Capabilities>
    804           <ed:Capability>http://clarin.eu/fcs/capability/basic-search</ed:Capability>
     804        <ed:Capability>http://clarin.eu/fcs/capability/basic-search</ed:Capability>
    805805      </ed:Capabilities>
    806806      <ed:SupportedDataViews>
    807           <ed:SupportedDataView id="hits" delivery-policy="send-by-default">application/x-clarin-fcs-hits+xml</ed:SupportedDataView>
     807        <ed:SupportedDataView id="hits" delivery-policy="send-by-default">application/x-clarin-fcs-hits+xml</ed:SupportedDataView>
    808808      </ed:SupportedDataViews>
    809809      <ed:Resources>
    810           <!-- just one top-level resource at the Endpoint -->
    811           <ed:Resource pid="http://hdl.handle.net/4711/0815">
    812               <ed:Title xml:lang="de">Goethe Corpus</ed:Title>
    813               <ed:Title xml:lang="en">Goethe Korpus</ed:Title>
    814               <ed:Description xml:lang="de">Das Goethe-Korpus des IDS Mannheim.</ed:Description>
    815               <ed:Description xml:lang="en">The Goethe corpus of IDS Mannheim.</ed:Description>
    816               <ed:LandingPageURI>http://repos.example.org/corpus1.html</ed:LandingPageURI>
    817               <ed:Languages>
    818                   <ed:Language>deu</ed:Language>
    819               </ed:Languages>
    820               <ed:AvailableDataViews ref="hits"/>
    821           </ed:Resource>
     810        <!-- just one top-level resource at the Endpoint -->
     811        <ed:Resource pid="http://hdl.handle.net/4711/0815">
     812          <ed:Title xml:lang="de">Goethe Corpus</ed:Title>
     813          <ed:Title xml:lang="en">Goethe Korpus</ed:Title>
     814          <ed:Description xml:lang="de">Das Goethe-Korpus des IDS Mannheim.</ed:Description>
     815          <ed:Description xml:lang="en">The Goethe corpus of IDS Mannheim.</ed:Description>
     816          <ed:LandingPageURI>http://repos.example.org/corpus1.html</ed:LandingPageURI>
     817          <ed:Languages>
     818            <ed:Language>deu</ed:Language>
     819          </ed:Languages>
     820          <ed:AvailableDataViews ref="hits"/>
     821        </ed:Resource>
    822822      </ed:Resources>
    823823    </ed:EndpointDescription>
     
    864864            </zr:map>
    865865          </zr:index>
    866       </zr:indexInfo>
    867       <zr:schemaInfo>
    868         <zr:schema identifier="http://clarin.eu/fcs/resource" name="fcs">
    869           <zr:title lang="en" primary="true">CLARIN Content Search</zr:title>
    870         </zr:schema>
    871       </zr:schemaInfo>
    872       <zr:configInfo>
    873         <zr:default type="numberOfRecords">250</zr:default>
    874         <zr:setting type="maximumRecords">1000</zr:setting>
    875       </zr:configInfo>
    876     </zr:explain>
    877   </sruResponse:recordData>
    878 </sruResponse:record>
    879 <sruResponse:echoedExplainRequest>
    880   <sruResponse:version>2.0</sruResponse:version>
    881 </sruResponse:echoedExplainRequest>
    882 <sruResponse:extraResponseData>
    883   <ed:EndpointDescription version="2">
    884     <ed:Capabilities>
    885       <ed:Capability>http://clarin.eu/fcs/capability/basic-search</ed:Capability>
    886       <ed:Capability>http://clarin.eu/fcs/capability/advanced-search</ed:Capability>
    887     </ed:Capabilities>
    888     <ed:SupportedDataViews>
    889       <ed:SupportedDataView id="hits" delivery-policy="send-by-default">application/x-clarin-fcs-hits+xml</ed:SupportedDataView>
    890       <ed:SupportedDataView id="adv" delivery-policy="send-by-default">application/x-clarin-fcs-adv+xml</ed:SupportedDataView>
    891     </ed:SupportedDataViews>
    892     <ed:SupportedLayers>
    893       <ed:SupportedLayer id="word" result-id="http://spraakbanken.gu.se/ns/fcs/layer/word">text</ed:SupportedLayer>
    894       <ed:SupportedLayer id="lemma" result-id="http://spraakbanken.gu.se/ns/fcs/layer/lemma">lemma</ed:SupportedLayer>
    895       <ed:SupportedLayer id="pos" result-id="http://spraakbanken.gu.se/ns/fcs/layer/pos">pos</ed:SupportedLayer>
    896     </ed:SupportedLayers>
    897     <ed:Resources>
    898       <ed:Resource pid="hdl:10794/suc">
    899         <ed:Title xml:lang="sv">SUC-korpusen</ed:Title>
    900         <ed:Title xml:lang="en">The SUC corpus</ed:Title>
    901         <ed:Description xml:lang="sv">Stockholm-Umeå-korpusen hos Språkbanken.</ed:Description>
    902         <ed:Description xml:lang="en">The Stockholm-Umeå corpus at Språkbanken.</ed:Description>
    903         <ed:LandingPageURI>https://spraakbanken.gu.se/resurser/suc</ed:LandingPageURI>
    904         <ed:Languages>
    905           <ed:Language>swe</ed:Language>
    906         </ed:Languages>
    907         <ed:AvailableDataViews ref="hits adv"/>
    908         <ed:AvailableLayers ref="word lemma pos"/>
    909       </ed:Resource>
    910     </ed:Resources>
    911   </ed:EndpointDescription>
    912 </sruResponse:extraResponseData>
     866        </zr:indexInfo>
     867        <zr:schemaInfo>
     868          <zr:schema identifier="http://clarin.eu/fcs/resource" name="fcs">
     869            <zr:title lang="en" primary="true">CLARIN Content Search</zr:title>
     870          </zr:schema>
     871        </zr:schemaInfo>
     872        <zr:configInfo>
     873          <zr:default type="numberOfRecords">250</zr:default>
     874          <zr:setting type="maximumRecords">1000</zr:setting>
     875        </zr:configInfo>
     876      </zr:explain>
     877    </sruResponse:recordData>
     878  </sruResponse:record>
     879  <sruResponse:echoedExplainRequest>
     880    <sruResponse:version>2.0</sruResponse:version>
     881  </sruResponse:echoedExplainRequest>
     882  <sruResponse:extraResponseData>
     883    <ed:EndpointDescription version="2">
     884      <ed:Capabilities>
     885        <ed:Capability>http://clarin.eu/fcs/capability/basic-search</ed:Capability>
     886        <ed:Capability>http://clarin.eu/fcs/capability/advanced-search</ed:Capability>
     887      </ed:Capabilities>
     888      <ed:SupportedDataViews>
     889        <ed:SupportedDataView id="hits" delivery-policy="send-by-default">application/x-clarin-fcs-hits+xml</ed:SupportedDataView>
     890        <ed:SupportedDataView id="adv" delivery-policy="send-by-default">application/x-clarin-fcs-adv+xml</ed:SupportedDataView>
     891      </ed:SupportedDataViews>
     892      <ed:SupportedLayers>
     893        <ed:SupportedLayer id="word" result-id="http://spraakbanken.gu.se/ns/fcs/layer/word">text</ed:SupportedLayer>
     894        <ed:SupportedLayer id="lemma" result-id="http://spraakbanken.gu.se/ns/fcs/layer/lemma">lemma</ed:SupportedLayer>
     895        <ed:SupportedLayer id="pos" result-id="http://spraakbanken.gu.se/ns/fcs/layer/pos">pos</ed:SupportedLayer>
     896      </ed:SupportedLayers>
     897      <ed:Resources>
     898        <ed:Resource pid="hdl:10794/suc">
     899          <ed:Title xml:lang="sv">SUC-korpusen</ed:Title>
     900          <ed:Title xml:lang="en">The SUC corpus</ed:Title>
     901          <ed:Description xml:lang="sv">Stockholm-Umeå-korpusen hos Språkbanken.</ed:Description>
     902          <ed:Description xml:lang="en">The Stockholm-Umeå corpus at Språkbanken.</ed:Description>
     903          <ed:LandingPageURI>https://spraakbanken.gu.se/resurser/suc</ed:LandingPageURI>
     904          <ed:Languages>
     905            <ed:Language>swe</ed:Language>
     906          </ed:Languages>
     907          <ed:AvailableDataViews ref="hits adv"/>
     908          <ed:AvailableLayers ref="word lemma pos"/>
     909        </ed:Resource>
     910      </ed:Resources>
     911    </ed:EndpointDescription>
     912  </sruResponse:extraResponseData>
    913913</sruResponse:explainResponse>
    914914}}}
     
    10021002  <sruResponse:nextRecordPosition>251</sruResponse:nextRecordPosition>
    10031003  <sruResponse:echoedSearchRetrieveRequest>
    1004   <sruResponse:version>2.0</sruResponse:version>
    1005   <sruResponse:query>"användning"</sruResponse:query>
    1006   <sruResponse:xQuery>
    1007     <searchClause>
    1008       <index>cql.serverChoice</index>
    1009       <relation><value>=</value></relation>
    1010       <term>användning</term>
    1011     </searchClause>
    1012   </sruResponse:xQuery>
    1013   <sruResponse:startRecord>1</sruResponse:startRecord>
    1014 </sruResponse:echoedSearchRetrieveRequest>
    1015 <sruResponse:resultCountPrecision>info:srw/vocabulary/resultCountPrecision/1/exact</sruResponse:resultCountPrecision>
     1004    <sruResponse:version>2.0</sruResponse:version>
     1005    <sruResponse:query>"användning"</sruResponse:query>
     1006    <sruResponse:xQuery>
     1007      <searchClause>
     1008        <index>cql.serverChoice</index>
     1009        <relation><value>=</value></relation>
     1010        <term>användning</term>
     1011      </searchClause>
     1012    </sruResponse:xQuery>
     1013    <sruResponse:startRecord>1</sruResponse:startRecord>
     1014  </sruResponse:echoedSearchRetrieveRequest>
     1015  <sruResponse:resultCountPrecision>info:srw/vocabulary/resultCountPrecision/1/exact</sruResponse:resultCountPrecision>
    10161016</sruResponse:searchRetrieveResponse>
    10171017}}}
     
    11011101  <sruResponse:nextRecordPosition>251</sruResponse:nextRecordPosition>
    11021102  <sruResponse:echoedSearchRetrieveRequest>
    1103   <sruResponse:version>2.0</sruResponse:version>
    1104   <sruResponse:startRecord>1</sruResponse:startRecord>
    1105 </sruResponse:echoedSearchRetrieveRequest>
    1106 <sruResponse:resultCountPrecision>info:srw/vocabulary/resultCountPrecision/1/exact</sruResponse:resultCountPrecision>
     1103    <sruResponse:version>2.0</sruResponse:version>
     1104    <sruResponse:startRecord>1</sruResponse:startRecord>
     1105  </sruResponse:echoedSearchRetrieveRequest>
     1106  <sruResponse:resultCountPrecision>info:srw/vocabulary/resultCountPrecision/1/exact</sruResponse:resultCountPrecision>
    11071107</sruResponse:searchRetrieveResponse>
    11081108}}}
     
    13281328{{{#!xml
    13291329<fcs:Resource xmlns:fcs="http://clarin.eu/fcs/resource" pid="http://hdl.handle.net/4711/0815">
    1330     <fcs:DataView type="application/x-clarin-fcs-hits+xml">
    1331       <hits:Result xmlns:hits="http://clarin.eu/fcs/dataview/hits">
    1332         The quick brown <hits:Hit>fox</hits:Hit> jumps over the lazy <hits:Hit>dog</hits:Hit>.
    1333       </hits:Result>
    1334     </fcs:DataView>
     1330  <fcs:DataView type="application/x-clarin-fcs-hits+xml">
     1331    <hits:Result xmlns:hits="http://clarin.eu/fcs/dataview/hits">
     1332      The quick brown <hits:Hit>fox</hits:Hit> jumps over the lazy <hits:Hit>dog</hits:Hit>.
     1333    </hits:Result>
     1334  </fcs:DataView>
    13351335   
    1336     <!--
    1337         NOTE: this is purely fictional and only serves to demonstrate how
    1338               to add custom extensions to the result representation
    1339               within CLARIN-FCS.
    1340     -->
    1341 
    1342     <!--
    1343         Example 1: a hypothetical Endpoint extension for navigation in a result
    1344         set: it basically provides a set of hrefs that a GUI can convert into
    1345         navigation buttions.   
    1346     -->
    1347     <nav:navigation xmlns:nav="http://repos.example.org/navigation">
    1348         <nav:curr href="http://repos.example.org/resultset/4711/4611" />
    1349         <nav:prev href="http://repos.example.org/resultset/4711/4610" />
    1350         <nav:next href="http://repos.example.org/resultset/4711/4612" />
    1351     </nav:navigation>
    1352 
    1353     <!--
    1354        Example 2: a hypothetical Endpoint extension for directly referencing parent
    1355        resources: it basically provides a link to the parent resource that can be
    1356        exploited by a GUI (e.g. build on XSLT/XQuery).
    1357     -->
    1358     <parent:Parent xmlns:parent="http://repos.example.org/parent"
    1359                    ref="http://repos.example.org/path/to/parent/1235.cmdi" />
     1336  <!--
     1337      NOTE: this is purely fictional and only serves to demonstrate how
     1338            to add custom extensions to the result representation
     1339            within CLARIN-FCS.
     1340  -->
     1341
     1342  <!--
     1343      Example 1: a hypothetical Endpoint extension for navigation in a result
     1344      set: it basically provides a set of hrefs that a GUI can convert into
     1345      navigation buttions.   
     1346  -->
     1347  <nav:navigation xmlns:nav="http://repos.example.org/navigation">
     1348    <nav:curr href="http://repos.example.org/resultset/4711/4611" />
     1349    <nav:prev href="http://repos.example.org/resultset/4711/4610" />
     1350    <nav:next href="http://repos.example.org/resultset/4711/4612" />
     1351  </nav:navigation>
     1352
     1353  <!--
     1354      Example 2: a hypothetical Endpoint extension for directly referencing parent
     1355      resources: it basically provides a link to the parent resource that can be
     1356      exploited by a GUI (e.g. build on XSLT/XQuery).
     1357  -->
     1358  <parent:Parent xmlns:parent="http://repos.example.org/parent"
     1359                 ref="http://repos.example.org/path/to/parent/1235.cmdi" />
    13601360</fcs:Resource>
    13611361}}}