Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpelder2006-02-24 14:19:03 -0500
committerpelder2006-02-24 14:19:03 -0500
commitcf44b010c9f9e75f08f52dca3fe9e34e7ff57205 (patch)
tree1436f903691e7a5e230cea2b1549f52326e09639 /tests/org.eclipse.jet.tests/data/beans.xsd
parent79d9bb81ecd0f91b46087d61dac630f0d1bd6ddb (diff)
downloadorg.eclipse.jet-cf44b010c9f9e75f08f52dca3fe9e34e7ff57205.tar.gz
org.eclipse.jet-cf44b010c9f9e75f08f52dca3fe9e34e7ff57205.tar.xz
org.eclipse.jet-cf44b010c9f9e75f08f52dca3fe9e34e7ff57205.zip
Initial commit
Diffstat (limited to 'tests/org.eclipse.jet.tests/data/beans.xsd')
-rw-r--r--tests/org.eclipse.jet.tests/data/beans.xsd42
1 files changed, 42 insertions, 0 deletions
diff --git a/tests/org.eclipse.jet.tests/data/beans.xsd b/tests/org.eclipse.jet.tests/data/beans.xsd
new file mode 100644
index 0000000..8635462
--- /dev/null
+++ b/tests/org.eclipse.jet.tests/data/beans.xsd
@@ -0,0 +1,42 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xsd:schema xmlns="http://www.example.org/beans" xmlns:xsd="http://www.w3.org/2001/XMLSchema" elementFormDefault="unqualified" targetNamespace="http://www.example.org/beans">
+ <xsd:complexType name="root">
+ <xsd:sequence>
+ <xsd:element maxOccurs="unbounded" minOccurs="0" name="project" type="project"/>
+ </xsd:sequence>
+ </xsd:complexType>
+
+ <xsd:complexType name="project">
+ <xsd:sequence>
+ <xsd:element maxOccurs="unbounded" minOccurs="0" name="beanModel" type="beanModel"/>
+ </xsd:sequence>
+ <xsd:attribute name="name" type="xsd:string"/>
+ </xsd:complexType>
+
+ <xsd:complexType name="beanModel">
+ <xsd:sequence>
+ <xsd:element maxOccurs="unbounded" minOccurs="0" name="bean" type="bean"/>
+ </xsd:sequence>
+ <xsd:attribute name="name" type="xsd:string"/>
+ <xsd:attribute name="basePackage" type="xsd:string"/>
+ </xsd:complexType>
+
+ <xsd:complexType name="bean">
+ <xsd:sequence>
+ <xsd:element maxOccurs="unbounded" minOccurs="0" name="attribute" type="attribute"/>
+ </xsd:sequence>
+ <xsd:attribute name="name" type="xsd:string"/>
+ </xsd:complexType>
+
+ <xsd:complexType name="attribute">
+ <xsd:sequence>
+ <xsd:element maxOccurs="1" minOccurs="0" name="doc" type="xsd:string"/>
+ </xsd:sequence>
+ <xsd:attribute name="name" type="xsd:string"/>
+ <xsd:attribute name="type" type="xsd:string"/>
+ <xsd:attribute name="kind" type="xsd:string"/>
+ </xsd:complexType>
+
+ <xsd:element name="root" type="root"/>
+
+</xsd:schema>

Back to the top