<?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>4196</bug_id>
          
          <creation_ts>2007-01-12 00:41:03 +0000</creation_ts>
          <short_desc>Clarify namespace restrictions (Framework and Primer)</short_desc>
          <delta_ts>2007-01-18 19:13:26 +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>LC</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="Monica Martin">monica.martin</reporter>
          <assigned_to name="Monica Martin">monica.martin</assigned_to>
          <cc>fabian.ritzmann</cc>
          
          <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>13462</commentid>
    <comment_count>0</comment_count>
    <who name="Monica Martin">monica.martin</who>
    <bug_when>2007-01-12 00:41:03 +0000</bug_when>
    <thetext>Description and Justification:
The Framework specification specifies treatment of unknown extensibility elements and attributes. In reviewing this and the other WG documents for a related issue on cleanup items on extensibility and consistency with the XML schema, ambiguous or missing statements were identified for the Primer and the Framework related to namespaces. The Primer specifies namespace restrictions rather than the Framework document.

Consistency and clarity between all documents with the requirements around extensibility for namespaces are suggested.

[start for reference only]
Reference this snippet from the existing schema. [reference 1]  Note this snippet is only included for information and reference only.  This snippet is NOT part of any proposed change for the Framework.

...&lt;xs:element name=&quot;Policy&quot; &gt;
&lt;xs:complexType&gt;
&lt;xs:complexContent&gt;
  &lt;xs:extension base=&quot;tns:OperatorContentType&quot; &gt;
    &lt;xs:attribute name=&quot;Name&quot; type=&quot;xs:anyURI&quot; /&gt;
    &lt;xs:attribute ref=&quot;wsu:Id&quot; /&gt;
    &lt;xs:anyAttribute namespace=&quot;##any&quot; processContents=&quot;lax&quot; /&gt;
  &lt;/xs:extension&gt;
&lt;/xs:complexContent&gt;
&lt;/xs:complexType&gt;
&lt;/xs:element&gt;
&lt;xs:element name=&quot;All&quot; type=&quot;tns:OperatorContentType&quot; /&gt;
&lt;xs:element name=&quot;ExactlyOne&quot; type=&quot;tns:OperatorContentType&quot; /&gt;
&lt;xs:complexType name=&quot;OperatorContentType&quot; &gt;
&lt;xs:sequence&gt;
&lt;xs:choice minOccurs=&quot;0&quot; maxOccurs=&quot;unbounded&quot; &gt;
  &lt;xs:element ref=&quot;tns:Policy&quot; /&gt;
  &lt;xs:element ref=&quot;tns:All&quot; /&gt;
  &lt;xs:element ref=&quot;tns:ExactlyOne&quot; /&gt;
  &lt;xs:element ref=&quot;tns:PolicyReference&quot; /&gt;
  &lt;xs:any namespace=&quot;##other&quot; processContents=&quot;lax&quot; /&gt;
&lt;/xs:choice&gt;
&lt;/xs:sequence&gt;
&lt;/xs:complexType&gt;...

See also existing text in the Primer, Section 3.8, Extensibility and Versioning: [reference 2]

&quot;Web Services Policy language is an extensible language by design. The |Policy|, |ExactlyOne|, |All| and |PolicyReference| elements are extensible. The |Policy|, |ExactlyOne| and |All| elements allow child element and attribute extensibility. Extensions must not use the policy language XML namespace name. A consuming processor processes known attributes and elements, ignores unknown attributes and treats unknown elements as policy assertions.

The |PolicyReference| element allows element and attribute extensibility.&quot;

See also in Section 2.3, Framework, on the policy namespace:
&quot;All information items defined by this specification are identified by the XML namespace URI [XML Namespaces] &lt;link&gt; |http://www.w3.org/@@@@/@@/ws-policy|.&quot;
[end for reference only]

Proposal:
Clarify statements in the Primer [2] and add such information to the Framework document [2] around namespaces related to extensions. The Framework discusses arbitrary namespaces but not specific restrictions, while the cited statements in the Primer need to be updated.

PROPOSED CHANGE: For Framework, Section 2.2, Extensibility:

[start proposed change - add at the end of the existing paragraph]
Extensions to Child Element Information Items added to Policy operators wsp:Policy, wsp:All and wsp:ExactlyOne MUST NOT use the policy language XML namespace name.
[end proposed change]

PROPOSED CHANGE: For Primer, Section 3.8, Extensibility and Versioning
Change from:

&quot;Web Services Policy language is an extensible language by design. The |Policy|, |ExactlyOne|, |All| and |PolicyReference| elements are extensible. The |Policy|, |ExactlyOne| and |All| elements allow child element and attribute extensibility. Extensions must not use the policy language XML namespace name. A consuming processor processes known attributes and elements, ignores unknown attributes and treats unknown elements as policy assertions.

The |PolicyReference| element allows element and attribute extensibility.&quot;

Change to:
&quot;Web Services Policy language is an extensible language by design. The |Policy|, |ExactlyOne|, |All| and |PolicyReference| elements are extensible. The |Policy|, |ExactlyOne| and |All| elements allow child element and attribute extensibility. Child element extensions to these elements must not use the policy language XML namespace name. A consuming processor processes known attributes and elements, ignores unknown attributes and treats unknown elements as policy assertions.

The |PolicyReference| element allows element and attribute extensibility.&quot;

Note: The extensibility question irrespective of namespaces is handled in a separate issue.

References
[reference 1]
http://dev.w3.org/cvsweb/~checkout~/2006/ws/policy/ws-policy.xsd?rev=1.6&amp;content-type=text/plain (schema)
[reference 2]
Editor&apos;s copies and CVS area 10 January 2007: http://www.w3.org/2002/ws/policy
See also Section 5, Lifecyle of Assertions in Guidelines

http://dev.w3.org/cvsweb/~checkout~/2006/ws/policy/ws-policy-framework.html?content-type=text/html;%20charset=utf-8 (Framework)
http://dev.w3.org/cvsweb/~checkout~/2006/ws/policy/ws-policy-primer.html?content-type=text/html;%20charset=utf-8 (Primer)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>13510</commentid>
    <comment_count>1</comment_count>
    <who name="Monica Martin">monica.martin</who>
    <bug_when>2007-01-12 23:08:55 +0000</bug_when>
    <thetext>UPDATES

1. DESCRIPTION
Schema snippet used for reference only:

[start]...
- &lt;xs:element name=&quot;Policy&quot;&gt;
- &lt;xs:complexType&gt;
- &lt;xs:complexContent&gt;
- &lt;xs:extension base=&quot;tns:OperatorContentType&quot;&gt;
  &lt;xs:attribute name=&quot;Name&quot; type=&quot;xs:anyURI&quot; /&gt; 
  &lt;xs:anyAttribute namespace=&quot;##any&quot; processContents=&quot;lax&quot; /&gt; 
  &lt;/xs:extension&gt;
  &lt;/xs:complexContent&gt;
  &lt;/xs:complexType&gt;
  &lt;/xs:element&gt;
  &lt;xs:element name=&quot;All&quot; type=&quot;tns:OperatorContentType&quot; /&gt; 
  &lt;xs:element name=&quot;ExactlyOne&quot; type=&quot;tns:OperatorContentType&quot; /&gt; 
- &lt;xs:complexType name=&quot;OperatorContentType&quot;&gt;
- &lt;xs:sequence&gt;
- &lt;xs:choice minOccurs=&quot;0&quot; maxOccurs=&quot;unbounded&quot;&gt;
  &lt;xs:element ref=&quot;tns:Policy&quot; /&gt; 
  &lt;xs:element ref=&quot;tns:All&quot; /&gt; 
  &lt;xs:element ref=&quot;tns:ExactlyOne&quot; /&gt; 
  &lt;xs:element ref=&quot;tns:PolicyReference&quot; /&gt; 
  &lt;xs:any namespace=&quot;##other&quot; processContents=&quot;lax&quot; /&gt; 
  &lt;/xs:choice&gt;
  &lt;/xs:sequence&gt;
  &lt;/xs:complexType&gt;
...[end]

Link reference: http://www.w3.org/2006/11/ws-policy.xsd

2. UPDATE to proposed change for Framework, Section 2.2:
Extensions that are Child Element Information Items added to Policy operators
wsp:Policy, wsp:All and wsp:ExactlyOne MUST NOT use the policy language XML
namespace name.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>13511</commentid>
    <comment_count>2</comment_count>
    <who name="Monica Martin">monica.martin</who>
    <bug_when>2007-01-12 23:16:26 +0000</bug_when>
    <thetext>Link to update is at: http://lists.w3.org/Archives/Public/public-ws-policy/2007Jan/0096.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>13693</commentid>
    <comment_count>3</comment_count>
    <who name="Christopher Ferris">chrisfer</who>
    <bug_when>2007-01-18 19:13:26 +0000</bug_when>
    <thetext>RESOLUTION: 4238 and 4196 closed with http://lists.w3.org/Archives/Public/public-ws-policy/2007Jan/0186.html
&lt;cferris&gt; rrsagent, where am i?
See http://www.w3.org/2007/01/18-ws-policy-irc#T19-12-51</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>