W3C home > Mailing lists > Public > www-p3p-policy@w3.org > August 2004

Re: About compact policy error

From: Rigo Wenning <rigo@w3.org>
Date: Thu, 19 Aug 2004 17:39:48 +0200
To: yuliang liu <liu_yuliang@yahoo.com>
Cc: www-p3p-policy@w3.org
Message-Id: <200408191739.52645.rigo@w3.org>
Am Thursday 19 August 2004 16:56 verlautbarte yuliang liu :
> Dear all:
>
> I am a student doing a P3P demonstration on the site
> of University of Sheffield. I have
> created P3P.xml reference file and policy.p3p policy
> file, and both of them can be validated through
> validator successfully. however, when I put them in
> the same root directory (/w3c/)and validate them, the
> following error message
> will appearing:

This concerns the compact policy transported with the P3P header. This 
generates the errors. 
http://www.w3.org/TR/P3P/#compact_policies
>
> Step 2-1: Compact Policy Validation
>
> Compact Policy has syntax errors or warnings.
>
> Error: TIA is not valid compact policy element.

This is a typo as the compact token is called TAI and stands for one 
time tailoring.

>
> Error: No "compact-retention" element exists (at
> least, one element required).

http://www.w3.org/TR/P3P/#compact_retention

A statement about the amount of time that data is retained is missing in 
the compact header (see the URI above)
>
> Error: No "compact-recipient" element exists (at
> least, one element required).

This is the same as above, see 
http://www.w3.org/TR/P3P/#compact_recipients

You will need at least one element.

All those things are not in your policy, but in the compact policy. 
Those are the tokens (only for cookies) that are transported in the P3P 
Header of the HTTP-answer to the GET request. If you don't use a 
cookie, you won't need the compact format at all. 

If you have a simple setup and no cookie, I would suggest that you use 
the well-known location (/w3c/p3p.xml) for the Policy Reference File 
and remove the P3P Header from the Web Server configuration.

Best, 
-- 
Rigo Wenning            W3C/ERCIM
Staff Counsel           Privacy Activity Lead
mail:rigo@w3.org        2004, Routes des Lucioles
http://www.w3.org/      F-06902 Sophia Antipolis


Received on Thursday, 19 August 2004 15:39:54 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 17 January 2012 12:13:11 GMT