aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'moxy/eclipselink.moxy.test/resource/schema1.xsd')
-rw-r--r--moxy/eclipselink.moxy.test/resource/schema1.xsd21
1 files changed, 21 insertions, 0 deletions
diff --git a/moxy/eclipselink.moxy.test/resource/schema1.xsd b/moxy/eclipselink.moxy.test/resource/schema1.xsd
new file mode 100644
index 0000000..a085ee3
--- /dev/null
+++ b/moxy/eclipselink.moxy.test/resource/schema1.xsd
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:y="addressNamespace" xmlns:x="employeeNamespace" targetNamespace="employeeNamespace">
+ <xsd:import schemaLocation="someExistingSchema.xsd" namespace="addressNamespace"/>
+ <xsd:complexType name="employee-type">
+ <xsd:sequence>
+ <xsd:element name="firstName" type="xsd:string"/>
+ <xsd:element name="birthday" type="xsd:date" minOccurs="0"/>
+ <xsd:element name="age" type="xsd:int"/>
+ <xsd:element name="lastName" type="xsd:string" minOccurs="0"/>
+ <xsd:element name="address" type="y:address-type" minOccurs="0"/>
+ <xsd:element name="startTime" type="xsd:time" minOccurs="0"/>
+ <xsd:element name="responsibilities" minOccurs="0">
+ <xsd:simpleType>
+ <xsd:list itemType="xsd:string"/>
+ </xsd:simpleType>
+ </xsd:element>
+ </xsd:sequence>
+ <xsd:attribute name="id" type="xsd:int" use="required"/>
+ </xsd:complexType>
+ <xsd:element name="employee-data" type="x:employee-type"/>
+</xsd:schema>