W3C home > Mailing lists > Public > public-p3p-spec@w3.org > September 2004

Problems with the P3P Schema

From: Giles Hogben <giles.hogben@jrc.it>
Date: Tue, 21 Sep 2004 17:20:34 +0200
To: <public-p3p-spec@w3.org>
Message-ID: <000101c49fee$8a483f80$362abf8b@cs.jrc.it>

A couple of important points arising from trying to finalize the Data Schema

1. I would like to propose that we make the Base Data Schema Definition a
self contained section of the spec - i.e. that we move sections 3.3.7 and
3.4 to within the new Data Schema definition.

2. In attempting to finalise the Base Data Schema using XML Schema, Rigo and
I have discovered that the P3P XML Schema (Normative :)) **appears to be

In particular:

<!-- *********** STATEMENT ************ -->
 <element name='STATEMENT'>
    <element ref='p3p:EXTENSION' minOccurs='0' maxOccurs='unbounded'/>
    <element name='CONSEQUENCE' minOccurs='0' type='string'/>
      <element ref='p3p:PURPOSE'/>
      <element ref='p3p:RECIPIENT'/>
      <element ref='p3p:RETENTION'/>
   ***   <element name='DATA-GROUP' type='p3p:data-group-type'
maxOccurs='unbounded'/>  ****
      <element name='NON-IDENTIFIABLE'/>
      <element ref='p3p:PURPOSE' minOccurs='0'/>
      <element ref='p3p:RECIPIENT' minOccurs='0'/>
      <element ref='p3p:RETENTION' minOccurs='0'/>
      <element name='DATA-GROUP' type='p3p:data-group-type' minOccurs='0'
    <element ref='p3p:EXTENSION' minOccurs='0' maxOccurs='unbounded'/>

Data Group is defined "locally" (i.e. not globally). In doing so, it
A. Does not define its allowed  children, and in particular no extension
B. Does not define any semantic equivalence with the data-group element used
under entity (which is also locally defined).

This is a problem not only for the XML BDS but as far as I can see, it
should mean that no real P3P policy would validate against the schema. IMHO
- it should be fixed before 1.1. esp if the schema is THE normative
definition. We should also rationalize this with our backward compatibility

There may be other errors. We need to take a real policy and make sure it
really does validate with a schema validator (has someone already tried

Received on Tuesday, 21 September 2004 15:20:33 GMT

This archive was generated by hypermail 2.2.0+W3C-0.1 : Tuesday, 21 September 2004 15:20:34 GMT