<?xml version="1.0" encoding="gb2312" ?> 
<xs:schema targetNamespace="http://www.h3c.com/netconf/base:1.0"
                  elementFormDefault="qualified"
                  xmlns="http://www.h3c.com/netconf/base:1.0"
                  xmlns:xs="http://www.w3.org/2001/XMLSchema"
                  >
  <xs:simpleType name="language">
    <xs:restriction base="xs:language">
      <xs:enumeration value="zh-cn"></xs:enumeration>
      <xs:enumeration value="en"></xs:enumeration>
    </xs:restriction>
  </xs:simpleType>
  <xs:element name="Authentication">
    <xs:complexType>
      <xs:choice>
        <xs:sequence>
          <xs:element name="UserName">
            <xs:simpleType >
              <xs:restriction base="xs:string">
                <xs:minLength value ="0"></xs:minLength>
              </xs:restriction>
            </xs:simpleType>
          </xs:element>
          <xs:element name="Password">
            <xs:simpleType >
              <xs:restriction base="xs:string">
                <xs:minLength value ="0"></xs:minLength>
              </xs:restriction>
            </xs:simpleType>
          </xs:element>
          <xs:element name="Language" type="language" minOccurs="0"/>
        </xs:sequence>
        <xs:sequence>
          <xs:element name="AuthInfo" type="xs:string"></xs:element>
          <xs:element name="Language" type="language" minOccurs="0"/>
        </xs:sequence>
      </xs:choice>
      <xs:anyAttribute processContents="strict" namespace="##any"></xs:anyAttribute>
    </xs:complexType>
  </xs:element>
  
</xs:schema>
