<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>4301</bug_id>
          
          <creation_ts>2007-02-06 12:11:55 +0000</creation_ts>
          <short_desc>Test case for xml:id</short_desc>
          <delta_ts>2007-03-14 17:18:28 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WS-Policy</product>
          <component>Test Suite</component>
          <version>CR</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows XP</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Felix Sasaki">fsasaki</reporter>
          <assigned_to name="Felix Sasaki">fsasaki</assigned_to>
          
          
          <qa_contact name="Web Services Policy WG QA List">public-ws-policy-qa</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>13910</commentid>
    <comment_count>0</comment_count>
    <who name="Felix Sasaki">fsasaki</who>
    <bug_when>2007-02-06 12:11:55 +0000</bug_when>
    <thetext>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 &lt;policyReference&gt; elements witin the same document.

&lt;wsdl20:description xmlns=&quot;http://www.w3.org/2006/07/ws-policy&quot; xmlns:wsp=&quot;http://www.w3.org/2006/07/ws-policy&quot; xmlns:wsdl20=&quot;http://www.w3.org/2006/01/wsdl&quot; xmlns:mtom=&quot;http://schemas.xmlsoap.org/ws/2004/09/policy/optimizedmimeserialization&quot; xmlns:wsap=&quot;http://www.w3.org/2006/05/addressing/wsdl&quot; xmlns:sp=&quot;http://schemas.xmlsoap.org/ws/2005/07/securitypolicy&quot;&gt;
   &lt;Policy xml:id=&quot;common&quot;&gt;
     &lt;mtom:OptimizedMimeSerialization wsp:Optional=&quot;true&quot;/&gt;
     &lt;wsap:UsingAddressing /&gt;
   &lt;/Policy&gt;
  &lt;Policy xml:id=&quot;secure&quot;&gt;
    &lt;ExactlyOne&gt;
      &lt;sp:TransportBinding&gt;&lt;/sp:TransportBinding&gt;
      &lt;sp:AsymmetricBinding&gt;&lt;/sp:AsymmetricBinding &gt;
    &lt;/ExactlyOne&gt;
  &lt;/Policy&gt;
  &lt;wsdl20:binding name=&quot;SecureBinding&quot;
      interface=&quot;tns:RealTimeDataInterface&quot; &gt;
    &lt;PolicyReference URI=&quot;#secure&quot; /&gt;
    &lt;wsdl20:operation name=&quot;GetRealQuote&quot; &gt;&lt;/wsdl20:operation&gt;    
  &lt;/wsdl20:binding&gt;
  &lt;wsdl20:service name=&quot;RealTimeDataService&quot;
       interface=&quot;tns:RealTimeDataInterface&quot; &gt;
    &lt;wsdl20:endpoint name=&quot;RealTimeDataPort&quot; 
         binding=&quot;tns:SecureBinding&quot;&gt;
      &lt;PolicyReference URI=&quot;#common&quot; /&gt;      
    &lt;/wsdl20:endpoint&gt;
  &lt;/wsdl20:service&gt;
&lt;/wsdl20:description&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>14423</commentid>
    <comment_count>1</comment_count>
    <who name="Christopher Ferris">chrisfer</who>
    <bug_when>2007-03-14 17:18:28 +0000</bug_when>
    <thetext>RESOLUTION: accept Asir&apos;s proposal
http://www.w3.org/2007/03/07-ws-policy-minutes.html</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>