deb-ryu/ryu/lib/netconf/xml.xsd
Isaku Yamahata 22ffd626ef netconf: import xml schema
This is stolen from flowforwarding enetconf
git://github.com/FlowForwarding/enetconf.git enetconf/priv/xml.xsd

This is a slimmed down version of http://www.w3.org/2001/xml.xsd.
Without this, validator can access to network when loading/validating XML.

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2013-03-08 07:19:53 +09:00

30 lines
854 B
XML

<?xml version="1.0" encoding="utf-8"?>
<xs:schema targetNamespace="http://www.w3.org/XML/1998/namespace"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns="http://www.w3.org/1999/xhtml"
xml:lang="en">
<xs:attribute name="lang">
<xs:simpleType>
<xs:union memberTypes="xs:language">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value=""/>
</xs:restriction>
</xs:simpleType>
</xs:union>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="space">
<xs:simpleType>
<xs:restriction base="xs:NCName">
<xs:enumeration value="default"/>
<xs:enumeration value="preserve"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="base"
type="xs:anyURI"/>
<xs:attribute name="id"
type="xs:ID"/>
</xs:schema>