<?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>4177</bug_id>
          
          <creation_ts>2007-01-10 10:04:24 +0000</creation_ts>
          <short_desc>Disambiguate notational convention for choice syntax</short_desc>
          <delta_ts>2007-01-16 21:58:25 +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+Attachment</component>
          <version>LC</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">fabian.ritzmann</reporter>
          <assigned_to name="Fabian Ritzmann">fabian.ritzmann</assigned_to>
          <cc>monica.martin</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>13397</commentid>
    <comment_count>0</comment_count>
    <who name="Fabian Ritzmann">fabian.ritzmann</who>
    <bug_when>2007-01-10 10:04:24 +0000</bug_when>
    <thetext>Title

Disambiguate notational convention for choice syntax

Description

Framework and Attachment, section 2.1 each, state:

The character &quot;|&quot; is used to indicate a choice between alternatives.

The character is used exactly twice. The first occurrence is in the framework, section 4.2:

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

The other occurrence is in attachment, section 3.4:

(05)   ( &lt;wsp:Policy&gt; &lt;/wsp:Policy&gt; |
(06)     &lt;wsp:PolicyReference&gt; &lt;/wsp:PolicyReference&gt; ) +

In both cases, the choice is exclusive. Note the + character which allows multiple occurrences of Policy and PolicyReference in the second case. Inclusive choice can always be solved as in the second case.
Justification

We should define the | syntax as exclusive right from the beginning to ease reading and understanding.

Target

Framework and Attachment

Proposal

In Framework section 2.1 and Attachment section 2.1 replace this:

The character &quot;|&quot; is used to indicate a choice between alternatives.

with this:

The character &quot;|&quot; is used to indicate an exclusive choice between alternatives.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>13621</commentid>
    <comment_count>1</comment_count>
    <who name="Christopher Ferris">chrisfer</who>
    <bug_when>2007-01-16 21:58:25 +0000</bug_when>
    <thetext>RESOLUTION: 4177 resolved by adding exclusive as proposed in http://lists.w3.org/Archives/Public/public-ws-policy/2007Jan/0056.html
See http://www.w3.org/2007/01/16-ws-policy-irc#T21-57-25</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>