File: earl_xml.tmpl

package info (click to toggle)
w3c-markup-validator 1.3%2Bdfsg-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 5,048 kB
  • sloc: javascript: 3,362; perl: 2,888; xml: 1,331; python: 427; sh: 216; makefile: 75
file content (66 lines) | stat: -rw-r--r-- 2,799 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
Content-Type: application/rdf+xml; charset=UTF-8
X-W3C-Validator-Recursion: <TMPL_VAR NAME="depth" DEFAULT="1"><TMPL_IF NAME="fatal_error">
X-W3C-Validator-Status: Abort<TMPL_ELSE><TMPL_IF NAME="valid_status">
X-W3C-Validator-Status: <TMPL_VAR NAME="valid_status" ESCAPE="NONE"></TMPL_IF>
X-W3C-Validator-Errors: <TMPL_VAR NAME="valid_errors_num" ESCAPE="NONE">
X-W3C-Validator-Warnings: <TMPL_VAR NAME="valid_warnings_num" ESCAPE="NONE"></TMPL_IF>

<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF
  xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
  xmlns:dct="http://purl.org/dc/terms/"
  xmlns:doap="http://usefulinc.com/ns/doap#"
  xmlns:ptr="http://www.w3.org/2009/pointers#"
  xmlns="http://www.w3.org/ns/earl#">

  <Software rdf:about="<TMPL_VAR NAME="env_home_page">about.html">
    <doap:name xml:lang="en">W3C Markup Validation Service</doap:name>
    <doap:description xml:lang="en">
      The W3C Markup Validation Service is a free service by W3C that helps
      check the validity of Web documents.
    </doap:description>
    <doap:homepage><TMPL_VAR NAME="env_home_page"></doap:homepage>
    <doap:release>
      <doap:revision><TMPL_VAR NAME="validator_version"></doap:revision>
    </doap:release>
  </Software>

  <TestRequirement rdf:about="http://www.w3.org/Markup/">
    <dct:title xml:lang="en">Markup validity</dct:title>
  </TestRequirement>

<TMPL_IF NAME="VALID">
  <Assertion>
    <assertedBy rdf:resource="<TMPL_VAR NAME="env_home_page">about.html"/>
    <test rdf:resource="http://www.w3.org/Markup/"/>
    <subject rdf:resource="<TMPL_VAR NAME="file_uri">"/>
    <mode rdf:resource="http://www.w3.org/ns/earl#automatic"/>
    <result rdf:resource="http://www.w3.org/ns/earl#passed" />
  </Assertion>
<TMPL_ELSE>
<TMPL_LOOP NAME="file_errors">
  <Assertion rdf:ID="assert<TMPL_VAR NAME="__counter__">">
    <assertedBy rdf:resource="<TMPL_VAR NAME="env_home_page">about.html"/>
    <subject rdf:resource="<TMPL_VAR NAME="file_uri">"/>
    <mode rdf:resource="http://www.w3.org/ns/earl#automatic"/>
    <test rdf:resource="http://www.w3.org/Markup/"/>
    <result rdf:resource="#error<TMPL_VAR NAME="__counter__">"/>
  </Assertion>

  <TestResult rdf:ID="error<TMPL_VAR NAME="__counter__">">
    <outcome rdf:resource="http://www.w3.org/ns/earl#failed"/>
    <dct:description xml:lang="en"><TMPL_VAR NAME="msg"></dct:description><TMPL_IF NAME="line">
    <pointer rdf:resource="#pointer<TMPL_VAR NAME="__counter__">"/></TMPL_IF>
  </TestResult>

<TMPL_IF NAME="line">
  <ptr:LineCharPointer rdf:ID="pointer<TMPL_VAR NAME="__counter__">">
    <ptr:lineNumber><TMPL_VAR NAME="line"></ptr:lineNumber><TMPL_IF NAME="char">
    <ptr:charNumber><TMPL_VAR NAME="char"></ptr:charNumber></TMPL_IF>
  </ptr:LineCharPointer>
</TMPL_IF>

</TMPL_LOOP>
</TMPL_IF>

</rdf:RDF>