Re: Last Call: draft-levin-mmusic-xml-media-control (XML Schema for Media Control) to Informational RFC

"Pete Cordell" <pete@codalogic.com> Fri, 26 October 2007 17:37 UTC

Return-path: <ietf-bounces@ietf.org>
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com) by megatron.ietf.org with esmtp (Exim 4.43) id 1IlT7q-00073o-Dd; Fri, 26 Oct 2007 13:37:38 -0400
Received: from [10.90.34.44] (helo=chiedprmail1.ietf.org) by megatron.ietf.org with esmtp (Exim 4.43) id 1Il2QJ-0007GF-Sb for ietf@ietf.org; Thu, 25 Oct 2007 09:06:55 -0400
Received: from smtp3.wanadoo.co.uk ([193.252.22.156] helo=smtp3.freeserve.com) by chiedprmail1.ietf.org with esmtp (Exim 4.43) id 1Il2QE-0006Bi-To for ietf@ietf.org; Thu, 25 Oct 2007 09:06:51 -0400
Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf3211.me.freeserve.com (SMTP Server) with ESMTP id E05A21C00088; Thu, 25 Oct 2007 15:06:49 +0200 (CEST)
Received: from Codalogic (user-5447e8d0.wfd93.dsl.pol.co.uk [84.71.232.208]) by mwinf3211.me.freeserve.com (SMTP Server) with SMTP id 494271C00081; Thu, 25 Oct 2007 15:06:49 +0200 (CEST)
X-ME-UUID: 20071025130649300.494271C00081@mwinf3211.me.freeserve.com
Message-ID: <000a01c81707$f265b1e0$5d00a8c0@Codalogic>
From: Pete Cordell <pete@codalogic.com>
To: "Even, Roni" <roni.even@polycom.co.il>, ietf@ietf.org
References: <144ED8561CE90C41A3E5908EDECE315C0501B822@IsrExch01.israel.polycom.com>
Date: Thu, 25 Oct 2007 14:07:05 +0100
MIME-Version: 1.0
Content-Type: text/plain; format="flowed"; charset="iso-8859-1"; reply-type="original"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2900.3138
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198
X-Spam-Score: 0.0 (/)
X-Scan-Signature: f1405b5eaa25d745f8c52e3273d3af78
X-Mailman-Approved-At: Fri, 26 Oct 2007 13:37:20 -0400
Cc: Cullen Jennings <fluffy@cisco.com>, oritl@microsoft.com, pierre@radvision.com, jo@acm.org, jf.mule@cablelabs.com, Colin Perkins <csp@csperkins.org>
Subject: Re: Last Call: draft-levin-mmusic-xml-media-control (XML Schema for Media Control) to Informational RFC
X-BeenThere: ietf@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: IETF-Discussion <ietf.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/ietf>, <mailto:ietf-request@ietf.org?subject=unsubscribe>
List-Post: <mailto:ietf@ietf.org>
List-Help: <mailto:ietf-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/ietf>, <mailto:ietf-request@ietf.org?subject=subscribe>
Errors-To: ietf-bounces@ietf.org

Hi Roni,

This looks fine to me.  The only thing I would say is that I think the 
elementFormDefault="qualified" is redundant because there is no namespace to 
qualify the elements with.

Pete.

P.S. Sorry for the delay in responding to this.  I have been away for a few 
days.
--
=============================================
Pete Cordell
Codalogic
for XML Schema to C++ data binding visit
 http://www.codalogic.com/lmx/
=============================================

----- Original Message ----- 
From: "Even, Roni" <roni.even@polycom.co.il>
To: "Pete Cordell" <pete@codalogic.com>; <ietf@ietf.org>
Cc: <oritl@microsoft.com>; <pierre@radvision.com>; "Colin Perkins" 
<csp@csperkins.org>; "Cullen Jennings" <fluffy@cisco.com>; <jo@acm.org>; 
<jf.mule@cablelabs.com>
Sent: Thursday, October 25, 2007 1:29 PM
Subject: RE: Last Call: draft-levin-mmusic-xml-media-control (XML Schema for 
Media Control) to Informational RFC


Hi Pete,

After consulting with my co-authors our view is that industry implemented 
the solution as specified in the example, so we need to revise the schema 
based on Pete's suggestion to



<?xml version="1.0" encoding="utf-8"?>

<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" 
elementFormDefault="qualified" id="TightMediaControl">

      <xs:element name="media_control">

            <xs:complexType>

                  <xs:sequence>

                        <xs:element name="vc_primitive" type="vc_primitive" 
minOccurs="0" maxOccurs="unbounded"/>

                        <xs:element name="general_error" type="xs:string" 
minOccurs="0" maxOccurs="unbounded"/>

                  </xs:sequence>

            </xs:complexType>

      </xs:element>

      <!-- Video control primitive.  -->

      <xs:complexType name="vc_primitive">

            <xs:sequence>

                  <xs:element name="to_encoder" type="to_encoder"/>

                  <xs:element name="stream_id" type="xs:string" 
minOccurs="0" maxOccurs="unbounded"/>

            </xs:sequence>

      </xs:complexType>

      <!-- Encoder Command:

                Picture Fast Update

           -->

      <xs:complexType name="to_encoder">

            <xs:choice>

                  <xs:element name="picture_fast_update"/>

            </xs:choice>

      </xs:complexType>

</xs:schema>





This also means that we will not have the target name space so we do not 
need to register it with IANA as specified in section 9.2.



If this is correct I will submit a revised revsion.



Thanks

Roni Even







> -----Original Message-----

> From: Pete Cordell [mailto:pete@codalogic.com]

> Sent: Monday, October 08, 2007 4:22 PM

> To: ietf@ietf.org

> Cc: oritl@microsoft.com; Even, Roni; pierre@radvision.com

> Subject: Re: Last Call: draft-levin-mmusic-xml-media-control (XML Schema

> for Media Control) to Informational RFC

>

> I quickly looked at this and noticed that the XML instance examples don't

> match the schema because the instance does not make reference to the

> namespace.  i.e., to match the schema, the example should be:

>

>    <media_control xmlns="urn:ietf:params:xml:ns:media_control">

>

>       <vc_primitive>

>        <to_encoder>

>          <picture_fast_update/>

>        </to_encoder>

>      </vc_primitive>

>

>    </media_control>

>

> My expectation is that the instance is actually more authorative in terms

> of

> what the authors are looking for. If that is the case, the schema should

> be

> modified along the lines of:

>

>    <xsd:schema id="TightMediaControl"

>     xmlns:xsd="http://www.w3.org/2001/XMLSchema">

>     ...

>

> i.e. remove the targetNamespace declarations.

>

> You may have your reasons not to, but if not, you may want to consider

> using

> schema's documentation features instead of the XML comments; e.g.:

>

> <xsd:complexType name="vc_primitive">

>     <xsd:annotation><xsd:documentation>

>         Video control primitive.

>     </xsd:documentation></xsd:annotation>

>

>     <xsd:sequence>

>      ...

>

> HTH,

>

> Pete.

> --

> =============================================

> Pete Cordell

> Codalogic

> for XML Schema to C++ data binding visit

>  http://www.codalogic.com/lmx/

> =============================================

> ----- Original Message -----

> From: "The IESG" <iesg-secretary@ietf.org>

> To: "IETF-Announce" <ietf-announce@ietf.org>

> Sent: Monday, October 08, 2007 2:29 PM

> Subject: Last Call: draft-levin-mmusic-xml-media-control (XML Schema for

> Media Control) to Informational RFC

>

>

> > The IESG has received a request from an individual submitter to consider

> > the following document:

> >

> > - 'XML Schema for Media Control '

> >   <draft-levin-mmusic-xml-media-control-11.txt> as an Informational RFC

> >

> > The IESG plans to make a decision in the next few weeks, and solicits

> > final comments on this action.  Please send substantive comments to the

> > ietf@ietf.org mailing lists by 2007-11-05. Exceptionally,

> > comments may be sent to iesg@ietf.org instead. In either case, please

> > retain the beginning of the Subject line to allow automated sorting.

> >

> > The file can be obtained via

> > http://www.ietf.org/internet-drafts/draft-levin-mmusic-xml-media-

> control-11.txt

> >

> >

> > IESG discussion can be tracked via

> >

> https://datatracker.ietf.org/public/pidtracker.cgi?command=view_id&dTag=93

> 91&rfc_flag=0

> >

> >

> > _______________________________________________

> > IETF-Announce mailing list

> > IETF-Announce@ietf.org

> > https://www1.ietf.org/mailman/listinfo/ietf-announce

> >

>






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