<?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>3752</bug_id>
          
          <creation_ts>2006-09-19 14:44:44 +0000</creation_ts>
          <short_desc>Clarify restrictions of ID type usage</short_desc>
          <delta_ts>2006-09-27 18:18:21 +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>Framework</component>
          <version>PR</version>
          <rep_platform>Macintosh</rep_platform>
          <op_sys>All</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="Fabian Ritzmann">ritzmann</reporter>
          <assigned_to name="Fabian Ritzmann">ritzmann</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>11856</commentid>
    <comment_count>0</comment_count>
    <who name="Fabian Ritzmann">ritzmann</who>
    <bug_when>2006-09-19 14:44:44 +0000</bug_when>
    <thetext>Title

Clarify restrictions of ID type usage


Description

With issue 3560 we added a new xml:id to the Policy element: &quot;/wsp:Policy/(@wsu:Id | @xml:id)&quot;

Both wsu:Id and xml:id are assigned the ID type and must meet its constraints.


Justification

It is not obvious to developers that are not intimately familiar with XML what the constraints of the ID type are and that they need to take it into account. A normative reference would be helpful.


Target

Web Services Policy Framework, section 2.1


Proposal

Extend this text in section 4.2:

/wsp:Policy/(@wsu:Id | @xml:id)

    The identity of the policy expression as an ID within the enclosing XML document.
If omitted, there is no implied value. To refer to this policy expression, an
IRI-reference MAY be formed using this value per Section 4.2 of WS-Security [WS-Security 2004]
when @wsu:Id is used.

with:

/wsp:Policy/(@wsu:Id | @xml:id)

    The identity of the policy expression as an ID within the enclosing XML document. 
If omitted, there is no implied value.
The constraints of the [XML 1.0] ID type MUST be met.
To refer to this policy expression, an IRI-reference MAY be formed using this value
per Section 4.2 of WS-Security [WS-Security 2004] when @wsu:Id is used.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>12110</commentid>
    <comment_count>1</comment_count>
    <who name="Paul Cotton">Paul.Cotton</who>
    <bug_when>2006-09-27 18:13:36 +0000</bug_when>
    <thetext>Proposal adopted at Sep 26 meeting:
http://www.w3.org/2006/09/26-ws-policy-minutes.html </thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>12112</commentid>
    <comment_count>2</comment_count>
    <who name="Paul Cotton">Paul.Cotton</who>
    <bug_when>2006-09-27 18:18:21 +0000</bug_when>
    <thetext>Correct URI of Sep 27 minutes is:
http://www.w3.org/2006/09/27-ws-policy-minutes.html 

/paulc</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>