validator
8.79 KB
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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>P3P Validator</title>
<style type="text/css">
BODY {
margin: 2em 1em 2em 30px;
font-family: 'Arial', 'Helvetica', sans-serif;
font-size: 11pt;
color: black;
background: white;
background-position: top left;
background-attachment: fixed;
background-repeat: no-repeat;
}
A:hover {
background: #FFFF90
}
H1 {
font-family: 'Arial', 'Helvetica', sans-serif;
font-size: 24pt;
font-weight: normal;
color: #0050B2;
}
H2 {
font-family: 'Arial', 'Helvetica', sans-serif;
font-size: 18pt;
font-weight: normal;
color: #0050B2;
}
H3 {
font-family: 'Arial', 'Helvetica', sans-serif;
font-size: 14pt;
font-weight: normal;
color: #0050B2;
}
H4{
font-family: 'Arial', 'Helvetica', sans-serif;
font-size: 12pt;
font-weight: normal;
color: #0050B2;
}
DL DT {
font-weight: bold;
}
DL DD {
margin-bottom: 0.7em;
}
PRE {
font-family: 'Courier New', 'Courier';
}
TT {
font-family: 'Courier New', 'Courier';
color: olive;
}
.big {
font-size: 15pt;
font-weight: bold;
}
.step {
font-size: 15pt;
color: #0050B2;
}
.result {
font-size: 13pt;
font-weight: bold;
}
.result2 {
font-size: 12pt;
font-weight: normal;
}
.mes {
font-size: 10pt;
margin-left: 30px;
}
li {
margin-bottom: 5pt;
}
</style>
<meta http-equiv="Content-Type" content="text/html">
</head>
<body>
<a href="http://www.w3.org/"><img border="0"
src="http://www.w3.org/Icons/WWW/w3c_home" alt="W3C"></a>
<h1>P3P Validator</h1>
<h2>Integrated Validation</h2>
<form method="get" action="http://validator.w3.org/p3p/20020128/p3p.pl">
URI: <input type="text" name="uri" size="50" maxlength="300">
<input type="submit" value="check">
<p style="color: #606060; font-size: 9pt">*Put the URI of a WWW page that
you want to check (e.g. <tt>http://www.truste.org/</tt>).<br>
*Please do not type the URI of P3P policy file.</p>
</form>
<h2>Policy File Validation</h2>
<form method="get" action="http://validator.w3.org/p3p/20020128/policy.pl">
URI: <input type="text" name="uri" size="50" maxlength="300">
<input type="submit" value="check"><br>
</form>
<form method="post" enctype="multipart/form-data"
action="http://validator.w3.org/p3p/20020128/policy.pl">
File: <input type="file" name="file" size="39" maxlength="300">
<input type="submit" value="check"><br>
<p style="color: #606060; font-size: 9pt">*Put URI or file name of P3P
policy (e.g. <tt>http://example.com/policy.xml</tt>)</p>
</form>
<hr>
<h3 style="color: #606060; font-size: 14pt">Changes and known bugs:</h3>
<ul style="color: #606060; font-size: 11pt">
<li><b>2002/12/01 [Bug & Fix 20]</b>
In the "Vocabulary check" step, even when there are errors, the validator
says "no error".
</li>
<li><b>2002/11/04 [Bug & Fix 19]</b>
The validator does not check the expiration date of the P3P policy. Now it is fixed.
</li>
<li><b style="color: red">2002/08/27 [Bug 18]</b>
When the policy file is on the SSL site, the validator thinks the policy file
does not exist. Now it is fixed.
</li>
<li><b>2002/08/27 [Bug & Fix 17]</b>
The parameter of the <tt>header.pl</tt> is not correctly escaped. Now it is fixed.
</li>
<li><b style="color: red">2002/06/18 [Bug 16]</b>
If the policy reference file contains non-XML code, the validator
fails to parse the PRF, and stops without any error messages.
</li>
<li><b>2002/06/03 [Bug & Fix 15]</b>
In the HTTP response header, the policy ref directive (= <tt>policyref="/w3c/pref.xml"</tt>) and the compact policy (= <tt>CP="NOI IND .."</tt>) must be seperated with a comma
character. The validator does not report an error, when a comma is missing. Now it is fixed .
</li>
<li><b>2002/05/16 [Bug & Fix 14]</b> When a compact policy includes <tt>NID</tt> element,
the compact policy does not have to include compact-purpose / compact-retention /
compact-recipient / compact-category tokens. However, the validator requires them.
Now it is fixed.
</li>
<li><b>2002/04/09 [Bug&Fix 13]</b> Validator did not recognize the compact
policy <tt>LOC</tt> category. Now, it is fixed.
</li>
<li><b>2002/03/26 [Bug&Fix 12]</b> When the target URI includes some special
characters, the validator failed. Now it is fixed.
</li>
<li><b>2002/03/22 [Bug&Fix 11]</b> URI patterns of the <tt>INCLUDE</tt> and
<tt>EXCLUDE</tt> elements in the PRF were relative to the PRF URI.
Now, they are relative to the target URI (See <a target="newwin"
href="http://www.w3.org/TR/P3P/#ref_file_preexc">section 2.3.2.5</a> of the spec
for the details ).
</li>
<li><b>2002/03/20 [Bug&Fix 10]</b> HTTPS related bug. When PRF is https and
the policy is http, the validator misunderstands that they are on the
different web sites. Now it is fixed.</li>
<li><b>2002/03/20 [Bug&Fix 09]</b> Link check sequence does not work correctly,
when the user uploads the P3P policy file. Now it is fixed.</li>
<li><b style="color: red">2002/03/20 [Bug 08]</b> If user defined <tt>DATASCHEMA</tt> uses
<tt>DATA-STRUCT</tt> element in the base data schema file, the validator
does not correctly recognize it. </li>
<li><b>2002/03/20 [Bug&Fix 07]</b> The validator did not recognize
<tt>DATASCHEMA</tt> embedded in the policy file, when the user upload the
policy file. Now, fixed. </li>
<li><b>2002/03/14 [Fix 06]</b> Now, the validator supports <tt>https</tt>.</li>
<li><b>2002/02/21 [Limitation 06]</b> The validator does not support <tt>https</tt>
protocol at this point. It will be supported soon.</li>
<li><b>2002/02/21 [Bug&Fix 05]</b> "<tt><link></tt> element multiple line"
bug fixed. </li>
<li><b>2002/02/20 [Bug&Fix 04]</b> "dot dot slash" bug fixed.
Now, the validator recognizes that [<tt>http://example.com/../abc/cde</tt>] is
equivalent to [<tt>http://example.com/abc/cde</tt>].
</li>
<li><b>2002/02/19 [Bug&Fix 03]</b> "<tt><POLICY></tt> element" bug fixed.
Now, the validator does not allows policy files starting with
<tt><POLICY></tt> element. </li>
<li><b>2002/02/19 [Fix 01]</b> <tt>"http-equiv header"</tt> bug fixed. </li>
<li><b>2002/02/18 [Bug&Fix 02]</b> "Single quote bug" fixed. The values of <tt>policyref</tt> and
<tt>CP</tt> in the P3P: http header must be quoted with double quotation marks
(<tt>"</tt>). The validator allowed single quotation marks illegally. </li>
<li><b>2002/02/14 [Bug 01]</b> The validator recognizes http-equiv headers in HTML documents.
This is not a bug. However, almost all HTML user agents do not recognize http-equiv
headers. Therefore, I will make the validator not to recognize them.
Details about this issue is <a
href="http://lists.w3.org/Archives/Public/www-p3p-policy/2002Feb/0032.html"
>here</a>.</li>
<li><b>2002/01/28 [Info]</b> The validator is compatible with
the P3P PR (proposed recommendation) spec.</li>
</ul>
<hr>
<h3 style="color: #606060; font-size: 14pt">Notice:</h3>
<ul style="color: #606060; font-size: 11pt">
<li>The <a href="validator/20020128/document">detailed document</a> about this validator is
available.</li>
<li>If you have a site you would like added to the <a
href="http://www.w3.org/P3P/compliant_sites">P3P compliant sites list</a>,
please first check your website using the P3P validator, and send e-mail
to <a href="mailto:koike_5@mmp.cl.nec.co.jp?subject=[P3P] Add site to list">Yuichi Koike</a>. Please make sure that the e-mail includes your site's URL and your site's name.</li>
<li>This validator is compatible with P3P spec from Sep 15, 2000 to Jan 29, 2002.
Older version of P3P validator is available <a
href="http://www.w3.org/P3P/validator/20000510/">here</a>.</li>
<li>Policy files will be checked against <a
href="http://www.w3.org/P3P/validator/20020128/p3p.xml"><b>P3P XML schema</b></a> and
<a href="http://www.w3.org/P3P/validator/20020128/base.xml"><b>Base data
schema</b></a>.</li>
<li>Source code of this validator is available at <a
href="http://dev.w3.org/cvsweb/p3p-validator/20020128/">
http://dev.w3.org/cvsweb/p3p-validator/20020128/</a></li>
<li>This is alpha version, and may have bugs and errors. Please report
errors and bugs to <a
href="mailto:koike_5@mmp.cl.nec.co.jp?subject=[P3P] validator bug">koike_5@mmp.cl.nec.co.jp</a>.</li>
</ul>
<hr>
Version 0.95, Created by: <a href="http://www.w3.org/People/Koike/">Yuichi</a>
<a href="http://www.ricot.com/">
Koike</a> and Shojima Taiki, Jan 29 2002 <!-- $Id: validator.html,v 1.51 2006/06/15 15:25:17 rigo Exp $-->
</body>
</html>