diff options
author | Björn Gustavsson <[email protected]> | 2010-09-02 15:44:33 +0200 |
---|---|---|
committer | Lars Thorsen <[email protected]> | 2011-05-10 09:13:23 +0200 |
commit | 824a6db3ff111f8d2427ac5adad0362bf078630a (patch) | |
tree | f146685c27e4c8f91b07f76d3e1e3510553e2e88 /lib/xmerl/test/xmerl_xsd_SUITE_data/sis/IsTypes.xsd | |
parent | 1a5796cd12061ebb21e7e51a0b7bdf05ed4786a7 (diff) | |
download | otp-824a6db3ff111f8d2427ac5adad0362bf078630a.tar.gz otp-824a6db3ff111f8d2427ac5adad0362bf078630a.tar.bz2 otp-824a6db3ff111f8d2427ac5adad0362bf078630a.zip |
Add test suite for xmerl
Diffstat (limited to 'lib/xmerl/test/xmerl_xsd_SUITE_data/sis/IsTypes.xsd')
-rw-r--r-- | lib/xmerl/test/xmerl_xsd_SUITE_data/sis/IsTypes.xsd | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/lib/xmerl/test/xmerl_xsd_SUITE_data/sis/IsTypes.xsd b/lib/xmerl/test/xmerl_xsd_SUITE_data/sis/IsTypes.xsd new file mode 100644 index 0000000000..a9607e4253 --- /dev/null +++ b/lib/xmerl/test/xmerl_xsd_SUITE_data/sis/IsTypes.xsd @@ -0,0 +1,42 @@ +<?xml version="1.0" encoding="iso-8859-1"?> +<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.ericsson.com/is/isco/IsTypes" xmlns="http://www.ericsson.com/is/isco/IsTypes" xmlns:nc="http://www.ericsson.com/is/isco/nc"> + <xsd:annotation> + <xsd:appinfo> + <mim file="types_mim.xml" version=""/> + </xsd:appinfo> + </xsd:annotation> + <xsd:import schemaLocation="nc.xsd" namespace="http://www.ericsson.com/is/isco/nc"/> + <xsd:complexType name="IpAddress"> + <xsd:annotation> + <xsd:documentation> + An IPv4 address + in the form v1.v2.v3.v4 where v1 ... v4 is a + decimal number in the range 0 to 255. + </xsd:documentation> + </xsd:annotation> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType0"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + <xsd:complexType name="MacAddress"> + <xsd:simpleContent> + <xsd:extension base="ccsHelperType1"> + <xsd:attribute ref="nc:operation"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + <xsd:simpleType name="ccsHelperType1"> + <xsd:restriction base="xsd:normalizedString"> + <xsd:whiteSpace value="collapse"/> + <xsd:pattern value="[A-F0-9][A-F0-9]?:[A-F0-9][A-F0-9]?:[A-F0-9][A-F0-9]?:[A-F0-9][A-F0-9]?:[A-F0-9][A-F0-9]?:[A-F0-9][A-F0-9]?"/> + </xsd:restriction> + </xsd:simpleType> + <xsd:simpleType name="ccsHelperType0"> + <xsd:restriction base="xsd:normalizedString"> + <xsd:whiteSpace value="collapse"/> + <xsd:pattern value="(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9]?[0-9])\.(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9]?[0-9])\.(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9]?[0-9])\.(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9]?[0-9])"/> + </xsd:restriction> + </xsd:simpleType> +</xsd:schema> |