Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'tests/org.eclipse.jet.tests/data/beanModel.xsd')
-rw-r--r--tests/org.eclipse.jet.tests/data/beanModel.xsd39
1 files changed, 39 insertions, 0 deletions
diff --git a/tests/org.eclipse.jet.tests/data/beanModel.xsd b/tests/org.eclipse.jet.tests/data/beanModel.xsd
new file mode 100644
index 0000000..13a285a
--- /dev/null
+++ b/tests/org.eclipse.jet.tests/data/beanModel.xsd
@@ -0,0 +1,39 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
+
+ <xsd:complexType name="root">
+ <xsd:sequence>
+ <xsd:element name="beanModel" type="beanModel" maxOccurs="unbounded" minOccurs="0"></xsd:element>
+ </xsd:sequence>
+ </xsd:complexType>
+
+ <xsd:complexType name="project">
+ <xsd:sequence>
+ <xsd:element name="beanModel" type="beanModel" maxOccurs="unbounded" minOccurs="0"></xsd:element>
+ </xsd:sequence>
+ <xsd:attribute name="name" type="xsd:string"></xsd:attribute>
+ </xsd:complexType>
+
+ <xsd:complexType name="beanModel">
+ <xsd:sequence>
+ <xsd:element name="bean" type="bean" maxOccurs="unbounded" minOccurs="0"></xsd:element>
+ </xsd:sequence>
+ <xsd:attribute name="name" type="xsd:string"></xsd:attribute>
+ <xsd:attribute name="basePackage" type="xsd:string"></xsd:attribute>
+ </xsd:complexType>
+
+ <xsd:complexType name="bean">
+ <xsd:sequence>
+ <xsd:element name="attribute" type="attribute" maxOccurs="unbounded" minOccurs="0"></xsd:element>
+ </xsd:sequence>
+ <xsd:attribute name="name" type="xsd:string"></xsd:attribute>
+ </xsd:complexType>
+
+ <xsd:complexType name="attribute">
+ <xsd:attribute name="name" type="xsd:string"></xsd:attribute>
+ <xsd:attribute name="type" type="xsd:string"></xsd:attribute>
+ <xsd:attribute name="kind" type="xsd:string"></xsd:attribute>
+ </xsd:complexType>
+
+ <xsd:element name="root" type="root"></xsd:element>
+</xsd:schema> \ No newline at end of file

Back to the top