[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

nit in NETCONF XSD in prot-09



Hi,

I was studying the XSD again, and I noticed 2 new things:

 1) errorInfoContent maxOccurs is all wrong
    - ok-element should be "1", the rest are "unbounded"
      or maybe they are all "unbounded"?
 2) errorInfoContent isn't used anywhere in the schema
    - so maybe it should just be removed?


 <xs:group name="errorInfoContent">
      <xs:sequence>
        <xs:element name="bad-attribute" type="xs:QName"
          minOccurs="0" maxOccurs="1"/>
        <xs:element name="bad-element" type="xs:QName"
          minOccurs="0" maxOccurs="1"/>
        <xs:element name="ok-element" type="xs:QName"
          minOccurs="0" maxOccurs="unbounded"/>
        <xs:element name="err-element" type="xs:QName"
          minOccurs="0" maxOccurs="unbounded"/>
        <xs:element name="noop-element" type="xs:QName"
          minOccurs="0" maxOccurs="unbounded"/>
        <xs:element name="session-id" type="SessionId"
          minOccurs="0" maxOccurs="1"/>
      </xs:sequence>
    </xs:group>


Andy


--
to unsubscribe send a message to netconf-request@ops.ietf.org with
the word 'unsubscribe' in a single line as the message text body.
archive: <http://ops.ietf.org/lists/netconf/>