Forum Moderators: phranque
The specified policy does not exist. Validation aborted. [http://www.mysite.com/w3c/full_p3p.xml]
But the policy - and that file - do exist. If I run a privacy report using IE, it opens up my privacy policy. I suspect I am missing something obvious here - any ideas what I should look for?
I also get another error that doesn't seem fatal, but maybe it is contributing:
Policy URI check
/w3c/p3p.xml has some warnings or errors.
Error: The URI fragment identifier (#****) is necessary to specify a POLICY element in a POLICIES element.
P3P policy for [mysite.com...] is [http://www.mysite.com/w3c/full_p3p.xml]
The HTML version of the policy is [mysite.com...]
Suggestions welcomed.
If so, the problem is that p3p.xml can't link to just "/w3c/full_p3p.xml". You need a fragment identifier linking straight to the POLICY element in full_p3p.xml, because policy files can contain more than one POLICY. Try "/w3c/full_p3p.xml#Privacy_Policy".
But that's only one problem: The big problem is that your POLICY statement isn't accurate for your site. That contact form asks for a lot of personally identifiable information. You need, at the very least, to create a second POLICY statement for your contact.html page, specifying use and retention policies for the information people provide when they use the forml.
At this point, I would be ahead of the game if I just asked all my visitors to call me and I will personally explain my privacy policy.
I have, at least, succeeded in identifying my policy as a test policy and specifically excluding my contact form.
Bottom line is, my p3p.xml file cannot find the full_p3p.xml file.
I guess this will be really obvious once someone explains it to me. At least I hope so.
Your first POLICY element begins with <POLICY name="Privacy_Policy" , so link to /w3c/full_p3p.xml#Privacy_Policy.
When you add another POLICY to the file, it will have to have a unique "name" attribute so you can link to it.
Okay, now it is obvious :)
Thanks.
<<Added>>It Validates!
Mbauser2, I can't thank you enough. I have set up a policy that I think overstates what I collect on most pages but covers the contact form; now I will try to set up a second policy that more accurately reflects all the pages except contact.html. Thanks again. <</added>>
See [w3.org...] , "specific example" #1.
<META xmlns="http://www.w3.org/2002/01/P3Pv1">
<POLICY-REFERENCES>
<POLICY-REF about="/w3c/privacy.xml#site">
<INCLUDE>/*</INCLUDE>
<EXCLUDE>/cgi/contact.cgi</EXCLUDE>
</POLICY-REF>
<POLICY-REF about="/w3c/privacy.xml#cgi">
<INCLUDE>/cgi/contact.cgi</INCLUDE>
</POLICY-REF>
</POLICY-REFERENCES>
</META>
(Which would be easier to read if Webmaster World didn't strip the tabs out....)
Note that there's only one POLICY-REFERENCES element, but that it contains two POLICY-REF elements. (Inside a POLICY-REF, the INCLUDE has to precede EXCLUDE.)
Likewise, the example file above links to "privacy.xml", which has one POLICIES element containing two POLICY elements (one named "site" and one named "cgi").
This would be so much easier to explain if all the elements didn't have such similar names....