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

Attributes on rpcType elements



According to section 4.1 <rpc> Element of
http://www.ietf.org/internet-drafts/draft-ietf-netconf-prot-05.txt 

   If additional attributes are present in an <rpc> element, a NETCONF
   peer must return them unmodified in the <rpc-reply> element.

But thus is not reflected in the XML Schema in appendix B. 

We either need to remove the above text from section 4.1, or we need to
modify the XML Schema in appendix B as below.

	<xs:complexType name="rpcType">
		<xs:sequence>
			<xs:element ref="rpcOperation"/>
		</xs:sequence>
		<xs:attribute name="message-id" type="xs:string"
use="required"/>
	</xs:complexType>

Needs to become:

	<xs:complexType name="rpcType">
		<xs:sequence>
			<xs:element ref="rpcOperation"/>
		</xs:sequence>
		<xs:attribute name="message-id" type="xs:string"
use="required"/>
		<xs:anyAttribute/>
	</xs:complexType>

And 

     <xs:complexType name="rpc-replyType">
       <xs:choice>
         <xs:element name="ok" minOccurs="0"/>
         <xs:element name="rpc-error"
           type="rpc-errorType" minOccurs="0"/>
         <xs:element ref="data" minOccurs="0"/>
       </xs:choice>
       <xs:attribute name="message-id" type="xs:string" use="required"/>
     </xs:complexType>

Needes to become 

     <xs:complexType name="rpc-replyType">
       <xs:choice>
         <xs:element name="ok" minOccurs="0"/>
         <xs:element name="rpc-error"
           type="rpc-errorType" minOccurs="0"/>
         <xs:element ref="data" minOccurs="0"/>
       </xs:choice>
       <xs:attribute name="message-id" type="xs:string" use="required"/>
	 <xs:anyAttribute/>
     </xs:complexType>



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