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>


>    ***   <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'>
   <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'/>
  <attribute name='base' type='anyURI' 
             use='optional' default='http://www.w3.org/TR/P3P/base'/>

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.



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

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:02:19 UTC