1Content-Type: application/xml; charset=UTF-8
2X-W3C-Validator-Recursion: <TMPL_VAR NAME="depth" DEFAULT="1"><TMPL_IF NAME="fatal_error">
3X-W3C-Validator-Status: Abort<TMPL_ELSE><TMPL_IF NAME="valid_status">
4X-W3C-Validator-Status: <TMPL_VAR NAME="valid_status"></TMPL_IF>
5X-W3C-Validator-Errors: <TMPL_VAR NAME="valid_errors_num">
6X-W3C-Validator-Warnings: <TMPL_VAR NAME="valid_warnings_num"></TMPL_IF>
7
8<?xml version="1.0" encoding="UTF-8"?>
9<observationresponse xmlns="http://www.w3.org/2009/10/unicorn/observationresponse" ref="<TMPL_VAR NAME="file_uri" ESCAPE="HTML">" xml:lang="en">
10
11<TMPL_IF NAME="VALID">
12<status value="passed"/>
13
14<message type="info" id="valid">
15	<title>This Page Is Valid <TMPL_VAR NAME="file_version" ESCAPE="HTML">!</title>
16	<description>
17		<TMPL_IF NAME="is_upload">
18			The uploaded document "<TMPL_VAR NAME="file_uri" ESCAPE="HTML">"
19		<TMPL_ELSE>
20			<TMPL_IF NAME="is_direct_input">
21				The uploaded document
22			<TMPL_ELSE>
23				The document located at &lt;<a href="<TMPL_VAR NAME="file_uri" ESCAPE="HTML">"><TMPL_VAR NAME="file_uri" ESCAPE="HTML"></a>&gt;
24			</TMPL_IF>
25		</TMPL_IF>
26		<TMPL_IF NAME="is_tentative">
27			was <em>tentatively</em> checked as <TMPL_VAR NAME="file_version" ESCAPE="HTML">.
28			This means that with the use of some fallback or override mechanism,
29			we successfully performed a formal validation of it.
30			In other words, the document would validate as
31			<TMPL_VAR NAME="file_version" ESCAPE="HTML"> if you changed the markup
32			to match the changes we have performed automatically, but
33			<em>it will not be valid until you make these changes</em>.
34		<TMPL_ELSE>
35			was successfully checked as
36			<TMPL_IF NAME="xmlwf_only">well-formed</TMPL_IF>
37			<TMPL_VAR NAME="file_version" ESCAPE="HTML">.
38			<TMPL_IF NAME="xmlwf_only">
39				This means that we were not able to determine
40				the exact document type, but that the document passed the XML well-formedness
41				syntax check. If you wish to wish to perform formal validation of the document,
42				you can use the "Document Type:" option of the validator.
43			<TMPL_ELSE>
44				This means that the resource in question identified itself as
45				"<TMPL_VAR NAME="file_version" ESCAPE="HTML">" and that we successfully
46				performed a formal validation of it.
47			</TMPL_IF>
48		</TMPL_IF>
49			The parser implementations we used for this check are based on
50			<TMPL_LOOP NAME="parsers">
51			<TMPL_UNLESS NAME="__first__"><TMPL_IF NAME="__last__">and </TMPL_IF></TMPL_UNLESS>
52			<a href="<TMPL_VAR NAME="link" ESCAPE="HTML">"><TMPL_VAR NAME="name" ESCAPE="HTML"></a><TMPL_IF NAME="type"> (<TMPL_VAR NAME="type" ESCAPE="HTML">)</TMPL_IF><TMPL_IF NAME="__inner__">,</TMPL_IF><TMPL_IF NAME="__last__">.</TMPL_IF>
53			</TMPL_LOOP>
54		<TMPL_IF NAME="badge_uri">
55			<p>To show your readers that you have taken the care to create an
56			interoperable Web page, you may display this icon on any page
57			that validates. Here is the HTML you could use to add this icon
58			to your Web page:</p>
59			<img class="inline-badge" src="<TMPL_VAR NAME="badge_uri" ESCAPE="HTML">"
60				alt="<TMPL_VAR NAME="badge_alt" ESCAPE="HTML">"
61				<TMPL_IF NAME="badge_h">height="<TMPL_VAR NAME="badge_h">"</TMPL_IF>
62				<TMPL_IF NAME="badge_w">width="<TMPL_VAR NAME="badge_w">"</TMPL_IF>
63			/>
64<pre><code>&lt;p<TMPL_IF NAME="badge_rdfa"> about=""
65	resource="<TMPL_VAR NAME="badge_rdfa">"
66	rel="dc:conformsTo" xmlns:dc="http://purl.org/dc/terms/"</TMPL_IF>&gt;
67	&lt;a href="<TMPL_VAR NAME="env_home_page" ESCAPE="HTML">check?uri=referer"<TMPL_IF NAME="badge_onclick">
68		<TMPL_VAR NAME="badge_onclick">="this.href=this.href.replace(/referer$/,encodeURIComponent(document.URL))"</TMPL_IF>&gt;&lt;img
69		src="<TMPL_VAR NAME="badge_uri" ESCAPE="HTML">"<TMPL_IF NAME="badge_alt"> alt="<TMPL_VAR NAME="badge_alt" ESCAPE="HTML">"</TMPL_IF> style="border: 0<TMPL_IF NAME="badge_h">; height: <TMPL_VAR NAME="badge_h">px</TMPL_IF><TMPL_IF NAME="badge_w">; width: <TMPL_VAR NAME="badge_w">px</TMPL_IF>"<TMPL_VAR NAME="badge_tagc">&gt;
70	&lt;/a&gt;
71&lt;/p&gt;</code></pre>
72
73			<TMPL_IF NAME="badge_alt_uri">
74				<img class="inline-badge" src="<TMPL_VAR NAME="badge_alt_uri" ESCAPE="HTML">"
75				alt="<TMPL_VAR NAME="badge_alt" ESCAPE="HTML">"
76				<TMPL_IF NAME="badge_h">height="<TMPL_VAR NAME="badge_h">"</TMPL_IF>
77				<TMPL_IF NAME="badge_w">width="<TMPL_VAR NAME="badge_w">"</TMPL_IF>
78				/>
79<pre><code>&lt;p<TMPL_IF NAME="badge_rdfa"> about=""
80	resource="<TMPL_VAR NAME="badge_rdfa">"
81	rel="dc:conformsTo" xmlns:dc="http://purl.org/dc/terms/"</TMPL_IF>&gt;
82	&lt;a href="<TMPL_VAR NAME="env_home_page" ESCAPE="HTML">check?uri=referer"<TMPL_IF NAME="badge_onclick">
83		<TMPL_VAR NAME="badge_onclick">="this.href=this.href.replace(/referer$/,encodeURIComponent(document.URL))"</TMPL_IF>&gt;&lt;img
84		src="<TMPL_VAR NAME="badge_alt_uri" ESCAPE="HTML">"<TMPL_IF NAME="badge_alt"> alt="<TMPL_VAR NAME="badge_alt" ESCAPE="HTML">"</TMPL_IF> style="border: 0<TMPL_IF NAME="badge_h">; height: <TMPL_VAR NAME="badge_h">px</TMPL_IF><TMPL_IF NAME="badge_w">; width: <TMPL_VAR NAME="badge_w">px</TMPL_IF>"<TMPL_VAR NAME="badge_tagc">&gt;
85	&lt;/a&gt;
86&lt;/p&gt;</code></pre>
87
88			</TMPL_IF>
89				<p>A <a href="http://www.w3.org/QA/Tools/Icons">full list</a> of icons, with links to alternate formats and colors, is available:
90				If you like, you can download a copy of the icons
91				to keep in your local web directory, and change the HTML fragment
92				above to reference your local image rather than the one on this server.</p>
93		</TMPL_IF>
94		<TMPL_UNLESS NAME="is_upload">
95			<TMPL_UNLESS NAME="is_direct_input">
96				If you would like to create a link to <em>this</em> page (i.e., this
97				validation result) to make it easier to revalidate this page in the
98				future or to allow others to validate your page, the URI is
99				&lt;<a href="<TMPL_VAR NAME="file_thispage" ESCAPE="HTML">"><TMPL_VAR NAME="file_thispage" ESCAPE="HTML"></a>&gt;
100				(or you can just add the current page to your bookmarks or hotlist).
101			</TMPL_UNLESS>
102		</TMPL_UNLESS>
103	</description>
104</message>
105</TMPL_IF>
106
107<TMPL_IF NAME="have_warnings">
108	<TMPL_INCLUDE NAME="ucn_warnings.tmpl">
109</TMPL_IF>
110
111<TMPL_LOOP NAME="file_errors">
112
113<TMPL_IF NAME="err_type_err">
114<message type="error" id="<TMPL_VAR NAME="num">">
115	<context <TMPL_IF NAME="line">line="<TMPL_VAR NAME="line">"</TMPL_IF> <TMPL_IF NAME="char">column="<TMPL_VAR NAME="char">"</TMPL_IF>><TMPL_VAR NAME="src"></context>
116	<title><TMPL_VAR NAME="msg" ESCAPE="HTML"></title>
117</message>
118</TMPL_IF>
119
120<TMPL_IF NAME="err_type_warn">
121<message type="warning" id="<TMPL_VAR NAME="num">">
122	<context <TMPL_IF NAME="line">line="<TMPL_VAR NAME="line">"</TMPL_IF> <TMPL_IF NAME="char">column="<TMPL_VAR NAME="char">"</TMPL_IF>><TMPL_VAR NAME="src"></context>
123	<title><TMPL_VAR NAME="msg" ESCAPE="HTML"></title>
124</message>
125</TMPL_IF>
126
127</TMPL_LOOP>
128
129</observationresponse>
130