W3C home > Mailing lists > Public > public-p3p-spec@w3.org > July 2005

Re: Trouble with data schema

From: Rigo Wenning <rigo@w3.org>
Date: Wed, 6 Jul 2005 11:27:34 +0200
To: Giles Hogben <giles.hogben@jrc.it>
Cc: "'Lorrie Cranor'" <lorrie@cs.cmu.edu>, public-p3p-spec@w3.org
Message-Id: <200507061127.35525.rigo@w3.org>
Am Wednesday 06 July 2005 09:27 verlautbarte Giles Hogben :
> I would like to propose a simplification which there is still time to
> put in the spec.
> We include categories in the Base Data Schema for backward
> compatibility - but we disallow them in custom schemas from now on.

I don't get you here. One of the features of the category system was, 
that new custom data elements could be attached to the existing broad 
categories thus giving the custom elements some meaning. This meaning 
would then be easier to understand for user agents.

> If you want to put in broad categories, there's nothing stopping you
> - you just have to make them into data elements which subsume the
> narrower categories. There's no need for a completely different and
> confusing syntax. 

Can you give an example how this would look like?

> Yes it's because of XSD. Basically because each 
> data element takes a subset of categories from a global set, this is
> only possible with a custom data type (or at least that's the only
> way we could find to do it and we consulted some XML lists)...

Can we say that we don't allow for NEW categories? Because in your 
example in the Spec, you say:

<element minoccurs="0" maxoccurs="1" name="musical-preference">
  <element minoccurs="0" maxoccurs="1" ref="classicalmusic-preference"/>
        Musical Preferences
    <element ref="CATEGORY" minoccurs="0" maxoccurs="*" 

So if you wanted new <category> - Elements, you would have to make them 
available in a custom XML Schema? How would that fit in our framework?



Received on Wednesday, 6 July 2005 09:27:43 UTC

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