This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 4301 - Test case for xml:id
Summary: Test case for xml:id
Status: RESOLVED FIXED
Alias: None
Product: WS-Policy
Classification: Unclassified
Component: Test Suite (show other bugs)
Version: CR
Hardware: PC Windows XP
: P2 normal
Target Milestone: ---
Assignee: Felix Sasaki
QA Contact: Web Services Policy WG QA List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-02-06 12:11 UTC by Felix Sasaki
Modified: 2007-03-14 17:18 UTC (History)
0 users

See Also:


Attachments

Description Felix Sasaki 2007-02-06 12:11:55 UTC
Title: Test case for xml:id

Description: This issue provides a test case for xml:id.

Justification:
The test case is necessary during the CR phase.

Proposal: Below is a document based on the 20061102 draft of the attachment document, the example in section 5.1. The document below contains xml:id attributes used for policy identification. An implementation needs to be able to resolve the references made via the <policyReference> elements witin the same document.

<wsdl20:description xmlns="http://www.w3.org/2006/07/ws-policy" xmlns:wsp="http://www.w3.org/2006/07/ws-policy" xmlns:wsdl20="http://www.w3.org/2006/01/wsdl" xmlns:mtom="http://schemas.xmlsoap.org/ws/2004/09/policy/optimizedmimeserialization" xmlns:wsap="http://www.w3.org/2006/05/addressing/wsdl" xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
   <Policy xml:id="common">
     <mtom:OptimizedMimeSerialization wsp:Optional="true"/>
     <wsap:UsingAddressing />
   </Policy>
  <Policy xml:id="secure">
    <ExactlyOne>
      <sp:TransportBinding></sp:TransportBinding>
      <sp:AsymmetricBinding></sp:AsymmetricBinding >
    </ExactlyOne>
  </Policy>
  <wsdl20:binding name="SecureBinding"
      interface="tns:RealTimeDataInterface" >
    <PolicyReference URI="#secure" />
    <wsdl20:operation name="GetRealQuote" ></wsdl20:operation>    
  </wsdl20:binding>
  <wsdl20:service name="RealTimeDataService"
       interface="tns:RealTimeDataInterface" >
    <wsdl20:endpoint name="RealTimeDataPort" 
         binding="tns:SecureBinding">
      <PolicyReference URI="#common" />      
    </wsdl20:endpoint>
  </wsdl20:service>
</wsdl20:description>
Comment 1 Christopher Ferris 2007-03-14 17:18:28 UTC
RESOLUTION: accept Asir's proposal
http://www.w3.org/2007/03/07-ws-policy-minutes.html