[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Some schema errors and missing definitions
Title: Message
In the XML schema
section for the netconf operations, "data" element is refered but not
defined.
<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="config"
minOccurs="0"/>
<xs:element ref="data" minOccurs="0"/>
<--------------------- Missing
definition
</xs:choice>
<xs:attribute
name="message-id" type="xs:string"
use="required"/>
</xs:complexType>
And I believe someone
already pointed out, the error-info element of the rpc-errorType should be type
"xs:anyType".
<xs:complexType
name="rpc-errorType">
<xs:sequence>
<xs:element name="error-type"
type="ErrorType"/>
<xs:element name="error-tag"
type="ErrorTag"/>
<xs:element name="error-severity"
type="ErrorSeverity"/>
<xs:element name="error-app-tag" type="xs:string"
minOccurs="0"/>
<xs:element name="error-path" type="xs:string"
minOccurs="0"/>
<xs:element name="error-message" type="xs:string"
minOccurs="0"/>
<xs:element name="error-info" type="xs:any"
minOccurs="0"/>
<--------- should be
"xs:anyType"
</xs:sequence>
</xs:complexType>
-Arvind