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 3752 - Clarify restrictions of ID type usage
Summary: Clarify restrictions of ID type usage
Status: RESOLVED FIXED
Alias: None
Product: WS-Policy
Classification: Unclassified
Component: Framework (show other bugs)
Version: PR
Hardware: Macintosh All
: P2 normal
Target Milestone: ---
Assignee: Fabian Ritzmann
QA Contact: Web Services Policy WG QA List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-19 14:44 UTC by Fabian Ritzmann
Modified: 2006-09-27 18:18 UTC (History)
0 users

See Also:


Attachments

Description Fabian Ritzmann 2006-09-19 14:44:44 UTC
Title

Clarify restrictions of ID type usage


Description

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

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.
Comment 1 Paul Cotton 2006-09-27 18:13:36 UTC
Proposal adopted at Sep 26 meeting:
http://www.w3.org/2006/09/26-ws-policy-minutes.html 
Comment 2 Paul Cotton 2006-09-27 18:18:21 UTC
Correct URI of Sep 27 minutes is:
http://www.w3.org/2006/09/27-ws-policy-minutes.html 

/paulc