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

Re: Problems with the P3P Schema

From: Yuichi Koike <koike@ay.jp.nec.com>
Date: Wed, 22 Sep 2004 10:59:40 +0900
Message-ID: <02b001c4a047$d27fce90$3a95380a@MYCAL>
To: "Giles Hogben" <giles.hogben@jrc.it>, <public-p3p-spec@w3.org>

Hello,


>    ***   <element name='DATA-GROUP' type='p3p:data-group-type'
>  maxOccurs='unbounded'/>  ****

The above lines says:
"The element type of <DATA-GROP> is 'p3p:data-group-type' ".

The 'data-group-type' is defined in other part of the schema.

 <complexType name='data-group-type'>
  <sequence>
   <element ref='p3p:EXTENSION' minOccurs='0' maxOccurs='unbounded'/>
   <element name='DATA' type='p3p:data-in-statement' maxOccurs='unbounded'/>
   <element ref='p3p:EXTENSION' minOccurs='0' maxOccurs='unbounded'/>
  </sequence>
  <attribute name='base' type='anyURI' 
             use='optional' default='http://www.w3.org/TR/P3P/base'/>
 </complexType>

It says that <DATA-GROUP> element has
    - 0 or more EXTENSION elements,
    - one or more than one DATA elements,
    - 0 or more EXTENSION elements 
as its children.

> 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
> this?).

P3P validator uses XSV (XML Schema Validator) as 
sub module. I think it is working well.

http://www.w3.org/2001/03/webdata/xsv?docAddrs=http%3A%2F%2Fwww.att.com%2Fprivacy%2Fp3p2.xml&warnings=on&style=xsl

Regards,

--
Yuichi Koike ( koike@ay.jp.nec.com )
NEC Corporation
Internet System Laboratory
Received on Wednesday, 22 September 2004 01:59:48 GMT

This archive was generated by hypermail 2.2.0+W3C-0.1 : Wednesday, 22 September 2004 01:59:49 GMT