pidf namespace, was: Re: [Simple] comments on draft-ietf-simple-rpid (long)

Jonathan Rosenberg <jdrosen@dynamicsoft.com> Mon, 01 March 2004 04:30 UTC

Received: from ietf-mx (ietf-mx.ietf.org [132.151.6.1]) by ietf.org (8.9.1a/8.9.1a) with ESMTP id XAA00729 for <simple-archive@ietf.org>; Sun, 29 Feb 2004 23:30:25 -0500 (EST)
Received: from ietf-mx ([132.151.6.1]) by ietf-mx with esmtp (Exim 4.12) id 1Axf4U-0004Av-00 for simple-archive@ietf.org; Sun, 29 Feb 2004 23:30:26 -0500
Received: from exim by ietf-mx with spam-scanned (Exim 4.12) id 1Axf3c-000461-00 for simple-archive@ietf.org; Sun, 29 Feb 2004 23:29:33 -0500
Received: from optimus.ietf.org ([132.151.1.19]) by ietf-mx with esmtp (Exim 4.12) id 1Axf38-00040i-00; Sun, 29 Feb 2004 23:29:02 -0500
Received: from localhost.localdomain ([127.0.0.1] helo=www1.ietf.org) by optimus.ietf.org with esmtp (Exim 4.20) id 1Axf37-000744-FN; Sun, 29 Feb 2004 23:29:01 -0500
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org) by optimus.ietf.org with esmtp (Exim 4.20) id 1Axf2c-00073f-S8 for simple@optimus.ietf.org; Sun, 29 Feb 2004 23:28:31 -0500
Received: from ietf-mx (ietf-mx.ietf.org [132.151.6.1]) by ietf.org (8.9.1a/8.9.1a) with ESMTP id XAA00627 for <simple@ietf.org>; Sun, 29 Feb 2004 23:28:28 -0500 (EST)
Received: from ietf-mx ([132.151.6.1]) by ietf-mx with esmtp (Exim 4.12) id 1Axf2a-0003zJ-00 for simple@ietf.org; Sun, 29 Feb 2004 23:28:29 -0500
Received: from exim by ietf-mx with spam-scanned (Exim 4.12) id 1Axf1g-0003tm-00 for simple@ietf.org; Sun, 29 Feb 2004 23:27:33 -0500
Received: from [63.113.44.69] (helo=mail3.dynamicsoft.com) by ietf-mx with esmtp (Exim 4.12) id 1Axf0u-0003iQ-00 for simple@ietf.org; Sun, 29 Feb 2004 23:26:45 -0500
Received: from dynamicsoft.com (dyn-tx-app-004.dfw.dynamicsoft.com [63.110.3.2]) by mail3.dynamicsoft.com (8.12.8/8.12.1) with ESMTP id i214P1Nr011214; Sun, 29 Feb 2004 23:25:24 -0500 (EST)
Message-ID: <4042BB0A.20908@dynamicsoft.com>
From: Jonathan Rosenberg <jdrosen@dynamicsoft.com>
Organization: dynamicsoft
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6) Gecko/20040113
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Henning Schulzrinne <hgs@cs.columbia.edu>
CC: Simple WG <simple@ietf.org>
Subject: pidf namespace, was: Re: [Simple] comments on draft-ietf-simple-rpid (long)
References: <4041F046.7050207@dynamicsoft.com> <40429762.4070101@cs.columbia.edu>
In-Reply-To: <40429762.4070101@cs.columbia.edu>
Content-Type: text/plain; charset="us-ascii"; format="flowed"
Content-Transfer-Encoding: 7bit
Content-Transfer-Encoding: 7bit
Sender: simple-admin@ietf.org
Errors-To: simple-admin@ietf.org
X-BeenThere: simple@ietf.org
X-Mailman-Version: 2.0.12
Precedence: bulk
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/simple>, <mailto:simple-request@ietf.org?subject=unsubscribe>
List-Id: SIP for Instant Messaging and Presence Leveraging Extensions <simple.ietf.org>
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>
List-Archive: <https://www1.ietf.org/mail-archive/working-groups/simple/>
Date: Sun, 29 Feb 2004 23:24:42 -0500
X-Spam-Checker-Version: SpamAssassin 2.60 (1.212-2003-09-23-exp) on ietf-mx.ietf.org
X-Spam-Status: No, hits=0.0 required=5.0 tests=AWL autolearn=no version=2.60
Content-Transfer-Encoding: 7bit

I had forgotten about that bit.

Actually, the text in PIDF seems wrong to me. Here is what it says:

  Although the existing PIDF definition allows arbitrary elements to
    appear in the <status> element, it may be sometimes desirable to
    standardize extension status elements and their semantics (the
    meanings of particular statuses, how they should be interpreted). The
    URN 'urn:ietf:params:xml:ns:pidf:status' has been defined as a
    namespace URI for extensions standardized by the IETF, and new values
    in this namespace must be defined by a standards-track RFC.

    The following example XML Schema defines an extension for <location>
    presence information, which can have the values of 'home', 'office',
    or 'car'. If the <location> element were standardized, this document
    would be made available in an RFC along with information about the
    use of the extension. These extensions should use the namespace
    'urn:ietf:params:xml:ns:pidf:status', and each RFC defining an
    extension should register an extension name within that namespace
    with IANA.

This seems to suggest that all extensions actually have the namespace 
urn:ietf:params:xml:ns:pidf:status, as opposed to being WITHIN that 
namespace. That interpretation is supported by the example which follows:

   <?xml version="1.0" encoding="UTF-8"?>
       <xs:schema targetNamespace="urn:ietf:params:xml:ns:pidf:status"
            xmlns:tns="urn:ietf:params:xml:ns:pidf:status"
            xmlns:xs="http://www.w3.org/2001/XMLSchema"
            elementFormDefault="qualified"
            attributeFormDefault="unqualified">


note the target namespace.

I don't think this is right; each extensions should have its own namespace.

-Jonathan R.

Henning Schulzrinne wrote:

> Jonathan Rosenberg wrote:
> 
>>> The namespace URIs for these elements defined by this specification
>>>    are URNs [2], using the namespace identifier 'ietf' defined by [3]
>>>    and extended by [5]:
>>>
>>>       urn:ietf:params:xml:ns:pidf:rpid-status
>>>       urn:ietf:params:xml:ns:pidf:rpid-tuple
>>
>>
>>
>> You might want to mention the motivation for multiple namespaces (I'm 
>> not sure I recall what it is).
> 
> 
> This is based on Section 4.2.5 of 
> http://www.ietf.org/internet-drafts/draft-ietf-impp-cpim-pidf-08.txt
> 
> 

-- 
Jonathan D. Rosenberg, Ph.D.                600 Lanidex Plaza
Chief Technology Officer                    Parsippany, NJ 07054-2711
dynamicsoft
jdrosen@dynamicsoft.com                     FAX:   (973) 952-5050
http://www.jdrosen.net                      PHONE: (973) 952-5000
http://www.dynamicsoft.com

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