[Simple] Re: <display-name> syntax in draft-ietf-simple-cipid-03

Henning Schulzrinne <hgs@cs.columbia.edu> Sat, 24 July 2004 01:29 UTC

Received: from ietf-mx.ietf.org (ietf-mx.ietf.org [132.151.6.1]) by ietf.org (8.9.1a/8.9.1a) with ESMTP id VAA08687; Fri, 23 Jul 2004 21:29:15 -0400 (EDT)
Received: from megatron.ietf.org ([132.151.6.71]) by ietf-mx.ietf.org with esmtp (Exim 4.33) id 1BoBMY-00010Y-H6; Fri, 23 Jul 2004 21:30:11 -0400
Received: from localhost.localdomain ([127.0.0.1] helo=megatron.ietf.org) by megatron.ietf.org with esmtp (Exim 4.32) id 1BoBJg-0005e8-5s; Fri, 23 Jul 2004 21:27:12 -0400
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org) by megatron.ietf.org with esmtp (Exim 4.32) id 1BoBA0-00047q-Ga for simple@megatron.ietf.org; Fri, 23 Jul 2004 21:17:12 -0400
Received: from ietf-mx.ietf.org (ietf-mx.ietf.org [132.151.6.1]) by ietf.org (8.9.1a/8.9.1a) with ESMTP id VAA08353 for <simple@ietf.org>; Fri, 23 Jul 2004 21:17:10 -0400 (EDT)
Received: from cs.columbia.edu ([128.59.16.20]) by ietf-mx.ietf.org with esmtp (Exim 4.33) id 1BoBAp-0000uh-0Q for simple@ietf.org; Fri, 23 Jul 2004 21:18:07 -0400
Received: from razor.cs.columbia.edu (IDENT:g6ZsjcZRNMzpA6LYmMnFGu30BH9fiv7F@razor.cs.columbia.edu [128.59.16.8]) by cs.columbia.edu (8.12.10/8.12.10) with ESMTP id i6O1H1fq025704 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NOT); Fri, 23 Jul 2004 21:17:02 -0400 (EDT)
Received: from [127.0.0.1] (IDENT:GDkHhiLNMJzknBTLfI+6Cp0MXWKCYbzs@localhost [127.0.0.1]) by razor.cs.columbia.edu (8.12.10/8.12.10) with ESMTP id i6O1H1jd008946; Fri, 23 Jul 2004 21:17:01 -0400
Message-ID: <4101B88D.1050508@cs.columbia.edu>
Date: Fri, 23 Jul 2004 21:17:01 -0400
From: Henning Schulzrinne <hgs@cs.columbia.edu>
User-Agent: Mozilla Thunderbird 0.7.1 (Windows/20040626)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Orit Levin <oritl@microsoft.com>
References: <DD07841287D0AD428833021705E0D14E02BC03DA@RED-MSG-52.redmond.corp.microsoft.com>
In-Reply-To: <DD07841287D0AD428833021705E0D14E02BC03DA@RED-MSG-52.redmond.corp.microsoft.com>
Content-Type: text/plain; charset="us-ascii"; format="flowed"
Content-Transfer-Encoding: 7bit
X-PMX-Version: 4.6.1.106153, Antispam-Core: 4.6.1.104326, Antispam-Data: 2004.7.23.108434
X-PerlMx-Spam: Gauge=IIIIIII, Probability=7%, Report='__MOZILLA_MSGID 0, __HAS_MSGID 0, __SANE_MSGID 0, __USER_AGENT 0, X_ACCEPT_LANG 0, __MIME_VERSION 0, __TO_MALFORMED_2 0, __REFERENCES 0, __IN_REP_TO 0, __EVITE_CTYPE 0, __CT_TEXT_PLAIN 0, __CT 0, __CTE 0, EMAIL_ATTRIBUTION 0, QUOTED_EMAIL_TEXT 0, __MIME_TEXT_ONLY 0, REFERENCES 0.000, IN_REP_TO 0, USER_AGENT 0.000'
X-Spam-Score: 0.0 (/)
X-Scan-Signature: d8ae4fd88fcaf47c1a71c804d04f413d
Content-Transfer-Encoding: 7bit
Cc: simple@ietf.org
Subject: [Simple] Re: <display-name> syntax in draft-ietf-simple-cipid-03
X-BeenThere: simple@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: SIP for Instant Messaging and Presence Leveraging Extensions <simple.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/simple>, <mailto:simple-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/simple>
List-Post: <mailto:simple@ietf.org>
List-Help: <mailto:simple-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/simple>, <mailto:simple-request@ietf.org?subject=subscribe>
Sender: simple-bounces@ietf.org
Errors-To: simple-bounces@ietf.org
X-Spam-Score: 0.0 (/)
X-Scan-Signature: bdc523f9a54890b8a30dd6fd53d5d024
Content-Transfer-Encoding: 7bit

Oops - I had updated the schema, but not copied it into the draft. (If 
somebody knows how to include files within CDATA, let me know...). You 
can see the schema at

http://www.cs.columbia.edu/sip/draft/cipid/cipid.xsd

Extensions in PIDF appear before <contact>, so your tuple example is 
slightly wrong, since the PIDF schema reads, in part,

          <xs:element name="status" type="tns:status"/>
          <xs:any namespace="##other" processContents="lax" minOccurs="0"
             maxOccurs="unbounded"/>
          <xs:element name="contact" type="tns:contact" minOccurs="0"/>
          <xs:element name="note" type="tns:note" minOccurs="0"
             maxOccurs="unbounded"/>

Thanks for catching this.

Orit Levin wrote:

> Henning,
> 
> The new <display-element> appears in the text of draft-ietf-simple-cipid-03 but was unfortunately omitted from the XML schema.
> 
> I would like to confirm the right syntax of the <display-name> by running the following example through you and the list:
> 
>  
> 
>     <?xml version="1.0" encoding="UTF-8"?>
> 
>          <presence xmlns="urn:ietf:params:xml:ns:pidf"
> 
>                    xmlns:es="urn:ietf:params:xml:ns:pidf:rpid-status"
> 
>                    xmlns:ci="urn:ietf:params:xml:ns:pidf:cipid"
> 
>           entity="sip:t-jones@example.com">
> 
>            <tuple id="0">
> 
>              <status>
> 
>                <basic>open</basic>
> 
>                      <es:activities>
> 
>                <es:activity>on-the-phone</es:activity>
> 
>              </es:activities>
> 
>              </status>
> 
>              <contact>sip:tom-pc@example.com</contact>
> 
>              <ci:display-name>Tom Jones</ci:display-name>
> 
>            </tuple>
> 
>            <ci:display-name>Tom Jones</ci:display-name>
> 
>          </presence>
> 
>  
> 
> Is this compliant with the XML schema that will be included in the next version?
> 
>  
> 
> Thanks a lot,
> 
> Orit.
> 
>  
> 


_______________________________________________
Simple mailing list
Simple@ietf.org
https://www1.ietf.org/mailman/listinfo/simple