[Standards-JIG] JEP 60: XSD Error

Chris Mullins chris.mullins at coversant.net
Sun May 1 20:11:30 UTC 2005


The 'Items' schema, in section 15.1, is missing the 'subid' attribute.

For example, the schema says:
<xs:element name='items'>
    <xs:complexType>
      <xs:sequence>
        <xs:element ref='item' minOccurs='0' maxOccurs='unbounded'/>
      </xs:sequence>
      <xs:attribute name='max_items' type='xs:positiveInteger'
use='optional'/>
      <xs:attribute name='node' type='xs:string' use='required'/>
    </xs:complexType>
  </xs:element>

And Example 55 shows:
<iq type="get"
    from="pgm at jabber.org"
    to="pubsub.jabber.org"
    id="items1">
  <pubsub xmlns="http://jabber.org/protocol/pubsub">
    <items node="generic/pgm-mp3-player" subid="123-abc"/>
  </pubsub>
</iq>


So I'm the following needs to be added: 
      <xs:attribute name='subid' type='xs:string' use='required'/>

(Is it worth the time for me to report these errors? If not, let me know
and I'll stop posting them...

-- 
Chris Mullins




More information about the Standards mailing list