ietf
[Top] [All Lists]

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

2007-10-09 05:57:25
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(_at_)ietf(_dot_)org>
To: "IETF-Announce" <ietf-announce(_at_)ietf(_dot_)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(_at_)ietf(_dot_)org mailing lists by 2007-11-05. Exceptionally,
comments may be sent to iesg(_at_)ietf(_dot_)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=9391&rfc_flag=0


_______________________________________________
IETF-Announce mailing list
IETF-Announce(_at_)ietf(_dot_)org
https://www1.ietf.org/mailman/listinfo/ietf-announce




_______________________________________________
Ietf mailing list
Ietf(_at_)ietf(_dot_)org
https://www1.ietf.org/mailman/listinfo/ietf