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

another schema issue



I didn't quite understand all implications of configInlineType:

     <!--
       Type for <config> element
       -->
     <xs:complexType name="configInlineType">
       <xs:complexContent>
         <xs:restriction base="xs:anyType"/>
       </xs:complexContent>
     </xs:complexType>

     <xs:element name="config" type="configInlineType"/>


so I tried to validate an edit-config message with the schema in the
draft and xmllint.

It complained and said that the <config> element's type is empty,
which makes sense I suppose.  There's a restriction on anyType which
restricts it to nothing.


Shouldn't the "config" element (all all others alike) be defined as:

         <xs:element name="config" type="xs:anyType"/>


What do I miss?


/martin





--
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/>