- From: Fabian Ritzmann <Fabian.Ritzmann@Sun.COM>
- Date: Thu, 08 Mar 2007 15:59:31 +0200
- To: Asir Vedamuthu <asirveda@microsoft.com>
- Cc: "public-ws-policy@w3.org" <public-ws-policy@w3.org>
Asir Vedamuthu wrote: >> Could we make that explicit in the WS-Policy-Scenarios doc? >> > > There is some text on this topic in the 'Effective-Policy-4-Service' sub section within 'Appendix E - Round 2 Unit Test Cases for Computing Effective Policy'. Please review the current text and propose additional text if you think the current text isn't adequate. > "Round2/ExternalPolicy.xml <- externally provided test case" is confusing. What about: "Round2/ExternalPolicy.xml <- externally provided policy expression" >> Still, I don't understand how this test is supposed to work? >> We assume that the policy implementation just knows that it >> needs to look into this file? >> > > Yes, your assumption is correct. The association from an IRI to a policy expression identified using a Name attribute is out of band. The value of the Name attribute is an absolute IRI and is independent of the location of the XML document where the identified policy expression resides in. As such, referencing a policy expression using the Name attribute relies on additional out of band information [1]. > OK, I had thought so. Of course we don't prescribe any mechanisms to retrieve policy expressions from non-resolvable IRIs. I have two issues with using this external policy in round 2: 1. Round 2 is supposed to test effective policy computation for WSDL. External policies don't seem to be relevant for that. 2. Some implementations may need to modify the test input files to fit this external policy into their processing model. There may e.g. be constraints that forbid an implementation to retrieve policies from an external file or URI. I would rather design the test cases such that they can always work without having to modify input documents. Fabian > -----Original Message----- > From: Fabian.Ritzmann@Sun.COM [mailto:Fabian.Ritzmann@Sun.COM] > Sent: Wednesday, March 07, 2007 12:57 AM > To: Asir Vedamuthu > Cc: public-ws-policy@w3.org > Subject: Re: test suite issue 4370: Round 2 WSDL 1.1 input file contains invalid references > > Asir Vedamuthu wrote: > >>> 1. The anonymous policy under <wsdl:service name="MyService"> >>> contains a reference to a non-existent policy >>> >>> >> Policy is at http://dev.w3.org/cvsweb/~checkout~/2006/ws/policy/interop/Round2/WSDL11/ExternalPolicy.xml >> >> > > Could we make that explicit in the WS-Policy-Scenarios doc? > > Still, I don't understand how this test is supposed to work? We assume > that the policy implementation just knows that it needs to look into > this file? > > Fabian > > > >>> 2. The anonymous policy under <wsdl:portType name="MyPortType" ...> >>> contains an invalid reference. It is missing a # character: >>> >>> >> Good catch. I fixed the missing # character when I added xml:id test cases (few minutes ago). >> >> Regards, >> >> Asir S Vedamuthu >> Microsoft Corporation >> >> >> -----Original Message----- >> From: public-ws-policy-request@w3.org [mailto:public-ws-policy-request@w3.org] On Behalf Of Fabian Ritzmann >> Sent: Tuesday, March 06, 2007 6:06 AM >> To: public-ws-policy@w3.org >> Subject: test suite issue 4370: Round 2 WSDL 1.1 input file contains invalid references >> >> >> http://www.w3.org/Bugs/Public/show_bug.cgi?id=4370 >> >> 1. The anonymous policy under <wsdl:service name="MyService"> contains a >> reference to a non-existent policy: >> <wsp:PolicyReference URI="http://fabrikam123.com/policies/ExternalPolicy" /> >> >> 2. The anonymous policy under <wsdl:portType name="MyPortType" ...> contains an >> invalid reference. It is missing a # character: >> <wsp:PolicyReference URI="Operation2-Aggregate"/> >> >> >> -- >> Fabian Ritzmann >> Sun Microsystems, Inc. >> Stella Business Park Phone +358-9-525 562 96 >> Lars Sonckin kaari 12 Fax +358-9-525 562 52 >> 02600 Espoo Email Fabian.Ritzmann@Sun.COM >> Finland >> >>
Received on Thursday, 8 March 2007 13:59:34 UTC