[sipcore] XML bug in Section 5.1 of Location Conveyance?

Alexander Mayrhofer <alexander.mayrhofer@nic.at> Fri, 06 August 2010 09:05 UTC

Return-Path: <alexander.mayrhofer@nic.at>
X-Original-To: sipcore@core3.amsl.com
Delivered-To: sipcore@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 53E293A68CB for <sipcore@core3.amsl.com>; Fri, 6 Aug 2010 02:05:13 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.556
X-Spam-Level:
X-Spam-Status: No, score=0.556 tagged_above=-999 required=5 tests=[AWL=0.127, BAYES_20=-0.74, HELO_EQ_AT=0.424, HOST_EQ_AT=0.745]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id onbKkyi5+S+p for <sipcore@core3.amsl.com>; Fri, 6 Aug 2010 02:05:11 -0700 (PDT)
Received: from mail.sbg.nic.at (mail.sbg.nic.at [83.136.33.227]) by core3.amsl.com (Postfix) with ESMTP id 75C4C3A6A8F for <sipcore@ietf.org>; Fri, 6 Aug 2010 02:05:09 -0700 (PDT)
Received: from nics-exch.sbg.nic.at ([10.17.175.3]) by mail.sbg.nic.at over TLS secured channel with XWall v3.45 ; Fri, 6 Aug 2010 10:35:15 +0200
Received: from nics-mail.sbg.nic.at (10.17.175.2) by NICS-EXCH.sbg.nic.at (10.17.175.3) with Microsoft SMTP Server id 14.0.702.0; Fri, 6 Aug 2010 10:35:15 +0200
Content-Class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
X-MimeOLE: Produced By Microsoft Exchange V6.5
Date: Fri, 06 Aug 2010 10:35:14 +0200
Message-ID: <8BC845943058D844ABFC73D2220D4665094CC410@nics-mail.sbg.nic.at>
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
Thread-Topic: XML bug in Section 5.1 of Location Conveyance?
Thread-Index: Acs1QkpQYbkVNggTTLaxRO9moJ/4sw==
From: Alexander Mayrhofer <alexander.mayrhofer@nic.at>
To: sipcore@ietf.org
X-XWALL-BCKS: auto
Subject: [sipcore] XML bug in Section 5.1 of Location Conveyance?
X-BeenThere: sipcore@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: SIP Core Working Group <sipcore.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/sipcore>, <mailto:sipcore-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/sipcore>
List-Post: <mailto:sipcore@ietf.org>
List-Help: <mailto:sipcore-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/sipcore>, <mailto:sipcore-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 06 Aug 2010 09:05:13 -0000

Hi,

i read through version 13 of the Location Conveyance draft, and i think
i spotted a bug in the example XML in section 5.1:

The PIDF-LO body starts as follows:

<?xml version="1.0" encoding="UTF-8"?>
      <presence xmlns="urn:ietf:params:xml:ns:pidf"
          xmlns:gp="urn:ietf:params:xml:ns:pidf:geopriv10"
          xmlns:cl="urn:ietf:params:xml:ns:pidf:geopriv10:civicAddr"
          xmlns:gml="http://www.opengis.net/gml"
          entity="pres:alice@atlanta.example.com">
        <dm:device id="point2d">

The last line in the snippet above refers to a namespace that has not
been declared - i suppose the namespace declaration of PIDF Data Model
is missing.

I didn't look at other examples from the draft, but it might be
worthwile verifying whether all the XML documents in the draft validate.

Alex