W3C home > Mailing lists > Public > www-forms-editor@w3.org > February 2002

RE: P3P comments on XForms 1.0 last call

From: Massimo Marchiori <massimo@w3.org>
Date: Sun, 24 Feb 2002 02:09:31 +0100
To: "Micah Dubinko" <MDubinko@cardiff.com>
Cc: <www-forms-editor@w3.org>, "Massimo Marchiori" <massimo@w3.org>
Message-ID: <NGBBJNKIMLOPPCFHEJEMMEGGCAAA.massimo@w3.org>
> -----Original Message-----
> From: Micah Dubinko [mailto:MDubinko@cardiff.com]
> Sent: Friday, February 22, 2002 1:50 AM
> To: 'Massimo Marchiori'
> Subject: RE: P3P comments on XForms 1.0 last call
>
>
> Greetings,
>
> Could you help me visualize?--provide a concrete example of:
>
> >ISSUE "P3P-DATATYPES" :
> ...
> >XForms could seamlessly provide this kind of information by adding an
> >(optional) attribute (e.g., to <caption>) where one can attach to the
> >datum a P3P semantic datatype (that is referenceable by using a URI).
>
> You can send direct to me, or to www-forms-editor.

Consider for instance the example in 8.1:

<input ref="order/shipTo/street" class="streetAddress">
  <caption>Street</caption>
  <hint>Please enter the number and street name</hint>
</input>

Your e-wallet might have your street address available, but can't
do an auto fill-in here, unless it tries to guess there's a connection
between the data that is asked and the data it has available.

Using p3p semantic datatypes, instead, you can denote the "kind"
of data (its meaning) via URIs.
So for example, the street address of a user is already in the P3P
Base Data Set, and corresponds to the URI
http://www.w3.org/TR/P3P/base#user.contact-info.postal.street

Doing such "semantic labelling" would allow to write for example
(introducing a "kind" attribute in caption):

<input ref="order/shipTo/street" class="streetAddress">
  <caption
kind="http://www.w3.org/TR/P3P/base#user.contact-info.postal.street">
  Street
  </caption>
  <hint>Please enter the number and street name</hint>
</input>

and now your UI could (among other possible interesting things) perform an
automatic fill-in of the data, because it knows what the form is talking
about.

Of course, there are many syntactic ways to insert P3P semantic datatypes in
XForms,
the above is just an example.

Hope this clarifies things a bit :)
-M
Received on Saturday, 23 February 2002 20:10:32 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 10 June 2009 18:12:10 GMT