W3C home > Mailing lists > Public > www-p3p-dev@w3.org > July 2002

form parameters

From: elena <elena.dasseni@txt.it>
Date: Tue, 9 Jul 2002 04:25:26 -0400 (EDT)
Message-ID: <085701c22722$0742b9e0$6a1010ac@PCDASSENI>
To: <www-p3p-dev@w3.org>
Cc: "Giles Hogben" <giles.hogben@jrc.it>
Hi,
    I've got a question on the the following paragraph, concerning the comparison of an action URI with parameters and the URI specified in the <INCLUDE> (<EXCLUDE>) node of a policy reference file:

Note that if a form is handled through use of the GET method, then the action URI reflects the choice of form elements selected by the user. In some cases, it will be possible to make use of the wildcard syntax allowed in policy reference files to specify different policies for different uses of the same form action-handler URI. Therefore, user agents MUST include the query-string portion of URIs when making comparisons with INCLUDE and EXCLUDE elements in policy reference files.

 I've got a questioLet's suppose that, when clicking the submit button of the form, the request is the following:

http://host/URI?name=Elena&surname=Dasseni&city=Milan 

 Let's also suppose we have the following PRF at http://host/w3c/p3p.xml :


<META xmlns="http://www.w3.org/2002/01/P3Pv1">
<POLICY-REFERENCES>
    <EXPIRY max-age="86400"/>
    <POLICY-REF about=http://www.website.com/policy1.xml>
        <INCLUDE>/URI?*surname=*&name=*</INCLUDE>
    </POLICY-REF>
    <POLICY-REF about=http://www.website.com/policy2.xml>
        <INCLUDE>/URI?*name=*&surname=*&city=*</INCLUDE>
    </POLICY-REF>
</POLICY-REFERENCES>
</META>

 Both My doubts are:

1) does the parameters order count?If so, then I should say the first INCLUDE does not match. 
2) if not, then both the INCLUDEs match: shall I apply the rule that the first POLICY-REF node matching the request URI has to be taken into account, and do not consider the second policy-ref, or shall I apply the second one,which is more precise?

Thank you very much.
-----
Elena Dasseni
Dottore in Informatica
v. Frigia, 27                      
20126 Milano (Italia)
phone: +39-02-25771-390           
Received on Thursday, 11 July 2002 07:52:08 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 18 June 2010 00:12:47 GMT