Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
G
GoikLectures
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
1
Issues
1
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
0
Merge Requests
0
Requirements
Requirements
List
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Incidents
Analytics
Analytics
Code Review
Insights
Issue
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Dr. Martin Goik
GoikLectures
Commits
cf3b7f5d
Commit
cf3b7f5d
authored
Dec 08, 2018
by
Dr. Martin Goik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
XML unit test alignment to Junit standard
parent
31d50169
Changes
19
Hide whitespace changes
Inline
Side-by-side
Showing
19 changed files
with
6193 additions
and
194 deletions
+6193
-194
Klausuren/Sda1/2018Summer/Exam/.gitignore
Klausuren/Sda1/2018Summer/Exam/.gitignore
+2
-27
Klausuren/Sda1/2018Summer/Exam/pom.xml
Klausuren/Sda1/2018Summer/Exam/pom.xml
+2
-2
Klausuren/Sda1/2018Summer/Exam/src/main/resources/XMLSchema.xsd
...ren/Sda1/2018Summer/Exam/src/main/resources/XMLSchema.xsd
+2471
-0
Klausuren/Sda1/2018Summer/Exam/src/main/resources/xml.xsd
Klausuren/Sda1/2018Summer/Exam/src/main/resources/xml.xsd
+286
-0
Klausuren/Sda1/2018Summer/Exam/src/test/java/de/hdm_stuttgart/mi/sda1/test/ex1/ShowReachedPoints.java
.../de/hdm_stuttgart/mi/sda1/test/ex1/ShowReachedPoints.java
+22
-0
Klausuren/Sda1/2018Summer/Exam/src/test/java/de/hdm_stuttgart/mi/sda1/test/ex1/Test_SchemaByInstances.java
...dm_stuttgart/mi/sda1/test/ex1/Test_SchemaByInstances.java
+153
-0
Klausuren/Sda1/2018Summer/Solve/.gitignore
Klausuren/Sda1/2018Summer/Solve/.gitignore
+1
-30
Klausuren/Sda1/2018Summer/Solve/Doc/exam.xml
Klausuren/Sda1/2018Summer/Solve/Doc/exam.xml
+2
-2
Klausuren/Sda1/2018Summer/Solve/pom.xml
Klausuren/Sda1/2018Summer/Solve/pom.xml
+2
-2
Klausuren/Sda1/2018Summer/Solve/src/main/resources/XMLSchema.xsd
...en/Sda1/2018Summer/Solve/src/main/resources/XMLSchema.xsd
+2471
-0
Klausuren/Sda1/2018Summer/Solve/src/main/resources/xml.xsd
Klausuren/Sda1/2018Summer/Solve/src/main/resources/xml.xsd
+286
-0
Klausuren/Sda1/2018Summer/Solve/src/test/java/de/hdm_stuttgart/mi/sda1/test/ex1/ShowReachedPoints.java
.../de/hdm_stuttgart/mi/sda1/test/ex1/ShowReachedPoints.java
+22
-0
Klausuren/Sda1/2018Summer/Solve/src/test/java/de/hdm_stuttgart/mi/sda1/test/ex1/Test_SchemaByInstances.java
...dm_stuttgart/mi/sda1/test/ex1/Test_SchemaByInstances.java
+153
-0
ws/Artifacts/Unitmarking/pom.xml
ws/Artifacts/Unitmarking/pom.xml
+1
-8
ws/Artifacts/Unitmarking/src/main/java/de/hdm_stuttgart/mi/exam/unitmarking/xml/XmlTestSupport.java
...hdm_stuttgart/mi/exam/unitmarking/xml/XmlTestSupport.java
+171
-92
ws/Artifacts/Unitmarking/src/main/java/de/hdm_stuttgart/mi/unitmarking/xsd/CreateTestClass.java
.../de/hdm_stuttgart/mi/unitmarking/xsd/CreateTestClass.java
+103
-0
ws/Artifacts/Unitmarking/src/main/java/de/hdm_stuttgart/mi/unitmarking/xsd/GenerateUnitTestClass.java
...m_stuttgart/mi/unitmarking/xsd/GenerateUnitTestClass.java
+14
-0
ws/Artifacts/Unitmarking/src/main/java/de/hdm_stuttgart/mi/unitmarking/xsd/InstanceSetEvaluation.java
...m_stuttgart/mi/unitmarking/xsd/InstanceSetEvaluation.java
+29
-29
ws/Artifacts/Unitmarking/src/main/java/de/hdm_stuttgart/mi/unitmarking/xsd/InstanceTest.java
...ava/de/hdm_stuttgart/mi/unitmarking/xsd/InstanceTest.java
+2
-2
No files found.
Klausuren/Sda1/2018Summer/Exam/.gitignore
View file @
cf3b7f5d
/.idea/
/target/
/.settings/
.classpath
...
...
@@ -5,34 +6,11 @@
dependency-reduced-pom.xml
*.log
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio and Webstorm
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839
# User-specific stuff:
.idea/**/workspace.xml
.idea/**/tasks.xml
.idea/dictionaries
# Sensitive or high-churn files:
.idea/**/dataSources/
.idea/**/dataSources.ids
.idea/**/dataSources.xml
.idea/**/dataSources.local.xml
.idea/**/sqlDataSources.xml
.idea/**/dynamic.xml
.idea/**/uiDesigner.xml
# Gradle:
.idea/**/gradle.xml
.idea/**/libraries
# CMake
cmake-build-debug/
# Mongo Explorer plugin:
.idea/**/mongoSettings.xml
*.iws
*.iml
# IntelliJ
...
...
@@ -44,9 +22,6 @@ out/
# JIRA plugin
atlassian-ide-plugin.xml
# Cursive Clojure plugin
.idea/replstate.xml
# Crashlytics plugin (for Android Studio and IntelliJ)
com_crashlytics_export_strings.xml
crashlytics.properties
...
...
Klausuren/Sda1/2018Summer/Exam/pom.xml
View file @
cf3b7f5d
...
...
@@ -103,7 +103,7 @@
<dependency>
<groupId>
de.hdm_stuttgart.mi.exam
</groupId>
<artifactId>
unitmarking
</artifactId>
<version>
0.9
</version>
<version>
1.0
</version>
</dependency>
</dependencies>
...
...
@@ -153,7 +153,7 @@
<configuration>
<archive>
<manifest>
<mainClass>
de.hdm_stuttgart.mi.sda1.test.ShowReachedPoints
</mainClass>
<mainClass>
de.hdm_stuttgart.mi.sda1.test.
ex1.
ShowReachedPoints
</mainClass>
</manifest>
</archive>
</configuration>
...
...
Klausuren/Sda1/2018Summer/Exam/src/main/resources/XMLSchema.xsd
0 → 100644
View file @
cf3b7f5d
<?xml version='1.0' encoding='UTF-8'?>
<xsd:schema
targetNamespace=
"http://www.w3.org/2001/XMLSchema"
blockDefault=
"#all"
elementFormDefault=
"qualified"
version=
"1.0"
xmlns:xsd=
"http://www.w3.org/2001/XMLSchema"
xml:lang=
"EN"
xmlns:hfp=
"http://www.w3.org/2001/XMLSchema-hasFacetAndProperty"
>
<xsd:annotation>
<xsd:documentation>
Part 1 version: Id: structures.xsd,v 1.2 2004/01/15 11:34:25 ht Exp
Part 2 version: Id: datatypes.xsd,v 1.3 2004/01/23 18:11:13 ht Exp
</xsd:documentation>
</xsd:annotation>
<xsd:annotation>
<xsd:documentation
source=
"http://www.w3.org/TR/2004/PER-xmlschema-1-20040318/structures.html"
>
The schema corresponding to this document is normative,
with respect to the syntactic constraints it expresses in the
XML Schema language. The documentation (within
<
documentation> elements)
below, is not normative, but rather highlights important aspects of
the W3C Recommendation of which this is a part
</xsd:documentation>
</xsd:annotation>
<xsd:annotation>
<xsd:documentation>
The simpleType element and all of its members are defined
towards the end of this schema document
</xsd:documentation>
</xsd:annotation>
<xsd:import
namespace=
"http://www.w3.org/XML/1998/namespace"
schemaLocation=
"xml.xsd"
>
<xsd:annotation>
<xsd:documentation>
Get access to the xml: attribute groups for xml:lang
as declared on 'schema' and 'documentation' below
</xsd:documentation>
</xsd:annotation>
</xsd:import>
<xsd:complexType
name=
"openAttrs"
>
<xsd:annotation>
<xsd:documentation>
This type is extended by almost all schema types
to allow attributes from other namespaces to be
added to user schemas.
</xsd:documentation>
</xsd:annotation>
<xsd:complexContent>
<xsd:restriction
base=
"xsd:anyType"
>
<xsd:anyAttribute
namespace=
"##other"
processContents=
"lax"
/>
</xsd:restriction>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType
name=
"annotated"
>
<xsd:annotation>
<xsd:documentation>
This type is extended by all types which allow annotation
other than
<
schema
>
itself
</xsd:documentation>
</xsd:annotation>
<xsd:complexContent>
<xsd:extension
base=
"xsd:openAttrs"
>
<xsd:sequence>
<xsd:element
ref=
"xsd:annotation"
minOccurs=
"0"
/>
</xsd:sequence>
<xsd:attribute
name=
"id"
type=
"xsd:ID"
/>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:group
name=
"schemaTop"
>
<xsd:annotation>
<xsd:documentation>
This group is for the
elements which occur freely at the top level of schemas.
All of their types are based on the "annotated" type by extension.
</xsd:documentation>
</xsd:annotation>
<xsd:choice>
<xsd:group
ref=
"xsd:redefinable"
/>
<xsd:element
ref=
"xsd:element"
/>
<xsd:element
ref=
"xsd:attribute"
/>
<xsd:element
ref=
"xsd:notation"
/>
</xsd:choice>
</xsd:group>
<xsd:group
name=
"redefinable"
>
<xsd:annotation>
<xsd:documentation>
This group is for the
elements which can self-redefine (see
<
redefine> below).
</xsd:documentation>
</xsd:annotation>
<xsd:choice>
<xsd:element
ref=
"xsd:simpleType"
/>
<xsd:element
ref=
"xsd:complexType"
/>
<xsd:element
ref=
"xsd:group"
/>
<xsd:element
ref=
"xsd:attributeGroup"
/>
</xsd:choice>
</xsd:group>
<xsd:simpleType
name=
"formChoice"
>
<xsd:annotation>
<xsd:documentation>
A utility type, not for public use
</xsd:documentation>
</xsd:annotation>
<xsd:restriction
base=
"xsd:NMTOKEN"
>
<xsd:enumeration
value=
"qualified"
/>
<xsd:enumeration
value=
"unqualified"
/>
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType
name=
"reducedDerivationControl"
>
<xsd:annotation>
<xsd:documentation>
A utility type, not for public use
</xsd:documentation>
</xsd:annotation>
<xsd:restriction
base=
"xsd:derivationControl"
>
<xsd:enumeration
value=
"extension"
/>
<xsd:enumeration
value=
"restriction"
/>
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType
name=
"derivationSet"
>
<xsd:annotation>
<xsd:documentation>
A utility type, not for public use
</xsd:documentation>
<xsd:documentation>
#all or (possibly empty) subset of {extension, restriction}
</xsd:documentation>
</xsd:annotation>
<xsd:union>
<xsd:simpleType>
<xsd:restriction
base=
"xsd:token"
>
<xsd:enumeration
value=
"#all"
/>
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType>
<xsd:list
itemType=
"xsd:reducedDerivationControl"
/>
</xsd:simpleType>
</xsd:union>
</xsd:simpleType>
<xsd:simpleType
name=
"typeDerivationControl"
>
<xsd:annotation>
<xsd:documentation>
A utility type, not for public use
</xsd:documentation>
</xsd:annotation>
<xsd:restriction
base=
"xsd:derivationControl"
>
<xsd:enumeration
value=
"extension"
/>
<xsd:enumeration
value=
"restriction"
/>
<xsd:enumeration
value=
"list"
/>
<xsd:enumeration
value=
"union"
/>
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType
name=
"fullDerivationSet"
>
<xsd:annotation>
<xsd:documentation>
A utility type, not for public use
</xsd:documentation>
<xsd:documentation>
#all or (possibly empty) subset of {extension, restriction, list, union}
</xsd:documentation>
</xsd:annotation>
<xsd:union>
<xsd:simpleType>
<xsd:restriction
base=
"xsd:token"
>
<xsd:enumeration
value=
"#all"
/>
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType>
<xsd:list
itemType=
"xsd:typeDerivationControl"
/>
</xsd:simpleType>
</xsd:union>
</xsd:simpleType>
<xsd:element
name=
"schema"
id=
"schema"
>
<xsd:annotation>
<xsd:documentation
source=
"http://www.w3.org/TR/xmlschema-1/#element-schema"
/>
</xsd:annotation>
<xsd:complexType>
<xsd:complexContent>
<xsd:extension
base=
"xsd:openAttrs"
>
<xsd:sequence>
<xsd:choice
minOccurs=
"0"
maxOccurs=
"unbounded"
>
<xsd:element
ref=
"xsd:include"
/>
<xsd:element
ref=
"xsd:import"
/>
<xsd:element
ref=
"xsd:redefine"
/>
<xsd:element
ref=
"xsd:annotation"
/>
</xsd:choice>
<xsd:sequence
minOccurs=
"0"
maxOccurs=
"unbounded"
>
<xsd:group
ref=
"xsd:schemaTop"
/>
<xsd:element
ref=
"xsd:annotation"
minOccurs=
"0"
maxOccurs=
"unbounded"
/>
</xsd:sequence>
</xsd:sequence>
<xsd:attribute
name=
"targetNamespace"
type=
"xsd:anyURI"
/>
<xsd:attribute
name=
"version"
type=
"xsd:token"
/>
<xsd:attribute
name=
"finalDefault"
type=
"xsd:fullDerivationSet"
use=
"optional"
default=
""
/>
<xsd:attribute
name=
"blockDefault"
type=
"xsd:blockSet"
use=
"optional"
default=
""
/>
<xsd:attribute
name=
"attributeFormDefault"
type=
"xsd:formChoice"
use=
"optional"
default=
"unqualified"
/>
<xsd:attribute
name=
"elementFormDefault"
type=
"xsd:formChoice"
use=
"optional"
default=
"unqualified"
/>
<xsd:attribute
name=
"id"
type=
"xsd:ID"
/>
<xsd:attribute
ref=
"xml:lang"
/>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:key
name=
"element"
>
<xsd:selector
xpath=
"xsd:element"
/>
<xsd:field
xpath=
"@name"
/>
</xsd:key>
<xsd:key
name=
"attribute"
>
<xsd:selector
xpath=
"xsd:attribute"
/>
<xsd:field
xpath=
"@name"
/>
</xsd:key>
<xsd:key
name=
"type"
>
<xsd:selector
xpath=
"xsd:complexType|xsd:simpleType"
/>
<xsd:field
xpath=
"@name"
/>
</xsd:key>
<xsd:key
name=
"group"
>
<xsd:selector
xpath=
"xsd:group"
/>
<xsd:field
xpath=
"@name"
/>
</xsd:key>
<xsd:key
name=
"attributeGroup"
>
<xsd:selector
xpath=
"xsd:attributeGroup"
/>
<xsd:field
xpath=
"@name"
/>
</xsd:key>
<xsd:key
name=
"notation"
>
<xsd:selector
xpath=
"xsd:notation"
/>
<xsd:field
xpath=
"@name"
/>
</xsd:key>
<xsd:key
name=
"identityConstraint"
>
<xsd:selector
xpath=
".//xsd:key|.//xsd:unique|.//xsd:keyref"
/>
<xsd:field
xpath=
"@name"
/>
</xsd:key>
</xsd:element>
<xsd:simpleType
name=
"allNNI"
>
<xsd:annotation><xsd:documentation>
for maxOccurs
</xsd:documentation></xsd:annotation>
<xsd:union
memberTypes=
"xsd:nonNegativeInteger"
>
<xsd:simpleType>
<xsd:restriction
base=
"xsd:NMTOKEN"
>
<xsd:enumeration
value=
"unbounded"
/>
</xsd:restriction>
</xsd:simpleType>
</xsd:union>
</xsd:simpleType>
<xsd:attributeGroup
name=
"occurs"
>
<xsd:annotation><xsd:documentation>
for all particles
</xsd:documentation></xsd:annotation>
<xsd:attribute
name=
"minOccurs"
type=
"xsd:nonNegativeInteger"
use=
"optional"
default=
"1"
/>
<xsd:attribute
name=
"maxOccurs"
type=
"xsd:allNNI"
use=
"optional"
default=
"1"
/>
</xsd:attributeGroup>
<xsd:attributeGroup
name=
"defRef"
>
<xsd:annotation><xsd:documentation>
for element, group and attributeGroup,
which both define and reference
</xsd:documentation></xsd:annotation>
<xsd:attribute
name=
"name"
type=
"xsd:NCName"
/>
<xsd:attribute
name=
"ref"
type=
"xsd:QName"
/>
</xsd:attributeGroup>
<xsd:group
name=
"typeDefParticle"
>
<xsd:annotation>
<xsd:documentation>
'complexType' uses this
</xsd:documentation></xsd:annotation>
<xsd:choice>
<xsd:element
name=
"group"
type=
"xsd:groupRef"
/>
<xsd:element
ref=
"xsd:all"
/>
<xsd:element
ref=
"xsd:choice"
/>
<xsd:element
ref=
"xsd:sequence"
/>
</xsd:choice>
</xsd:group>
<xsd:group
name=
"nestedParticle"
>
<xsd:choice>
<xsd:element
name=
"element"
type=
"xsd:localElement"
/>
<xsd:element
name=
"group"
type=
"xsd:groupRef"
/>
<xsd:element
ref=
"xsd:choice"
/>
<xsd:element
ref=
"xsd:sequence"
/>
<xsd:element
ref=
"xsd:any"
/>
</xsd:choice>
</xsd:group>
<xsd:group
name=
"particle"
>
<xsd:choice>
<xsd:element
name=
"element"
type=
"xsd:localElement"
/>
<xsd:element
name=
"group"
type=
"xsd:groupRef"
/>
<xsd:element
ref=
"xsd:all"
/>
<xsd:element
ref=
"xsd:choice"
/>
<xsd:element
ref=
"xsd:sequence"
/>
<xsd:element
ref=
"xsd:any"
/>
</xsd:choice>
</xsd:group>
<xsd:complexType
name=
"attribute"
>
<xsd:complexContent>
<xsd:extension
base=
"xsd:annotated"
>
<xsd:sequence>
<xsd:element
name=
"simpleType"
minOccurs=
"0"
type=
"xsd:localSimpleType"
/>
</xsd:sequence>
<xsd:attributeGroup
ref=
"xsd:defRef"
/>
<xsd:attribute
name=
"type"
type=
"xsd:QName"
/>
<xsd:attribute
name=
"use"
use=
"optional"
default=
"optional"
>
<xsd:simpleType>
<xsd:restriction
base=
"xsd:NMTOKEN"
>
<xsd:enumeration
value=
"prohibited"
/>
<xsd:enumeration
value=
"optional"
/>
<xsd:enumeration
value=
"required"
/>
</xsd:restriction>
</xsd:simpleType>
</xsd:attribute>
<xsd:attribute
name=
"default"
type=
"xsd:string"
/>
<xsd:attribute
name=
"fixed"
type=
"xsd:string"
/>
<xsd:attribute
name=
"form"
type=
"xsd:formChoice"
/>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType
name=
"topLevelAttribute"
>
<xsd:complexContent>
<xsd:restriction
base=
"xsd:attribute"
>
<xsd:sequence>
<xsd:element
ref=
"xsd:annotation"
minOccurs=
"0"
/>
<xsd:element
name=
"simpleType"
minOccurs=
"0"
type=
"xsd:localSimpleType"
/>
</xsd:sequence>
<xsd:attribute
name=
"ref"
use=
"prohibited"
/>
<xsd:attribute
name=
"form"
use=
"prohibited"
/>
<xsd:attribute
name=
"use"
use=
"prohibited"
/>
<xsd:attribute
name=
"name"
use=
"required"
type=
"xsd:NCName"
/>
<xsd:anyAttribute
namespace=
"##other"
processContents=
"lax"
/>
</xsd:restriction>
</xsd:complexContent>
</xsd:complexType>
<xsd:group
name=
"attrDecls"
>
<xsd:sequence>
<xsd:choice
minOccurs=
"0"
maxOccurs=
"unbounded"
>
<xsd:element
name=
"attribute"
type=
"xsd:attribute"
/>
<xsd:element
name=
"attributeGroup"
type=
"xsd:attributeGroupRef"
/>
</xsd:choice>
<xsd:element
ref=
"xsd:anyAttribute"
minOccurs=
"0"
/>
</xsd:sequence>
</xsd:group>
<xsd:element
name=
"anyAttribute"
type=
"xsd:wildcard"
id=
"anyAttribute"
>
<xsd:annotation>
<xsd:documentation
source=
"http://www.w3.org/TR/xmlschema-1/#element-anyAttribute"
/>
</xsd:annotation>
</xsd:element>
<xsd:group
name=
"complexTypeModel"
>
<xsd:choice>
<xsd:element
ref=
"xsd:simpleContent"
/>
<xsd:element
ref=
"xsd:complexContent"
/>
<xsd:sequence>
<xsd:annotation>
<xsd:documentation>
This branch is short for
<
complexContent>
<
restriction base="xsd:anyType">
...
<
/restriction>
<
/complexContent>
</xsd:documentation>
</xsd:annotation>
<xsd:group
ref=
"xsd:typeDefParticle"
minOccurs=
"0"
/>
<xsd:group
ref=
"xsd:attrDecls"
/>
</xsd:sequence>
</xsd:choice>
</xsd:group>
<xsd:complexType
name=
"complexType"
abstract=
"true"
>
<xsd:complexContent>
<xsd:extension
base=
"xsd:annotated"
>
<xsd:group
ref=
"xsd:complexTypeModel"
/>
<xsd:attribute
name=
"name"
type=
"xsd:NCName"
>
<xsd:annotation>
<xsd:documentation>
Will be restricted to required or forbidden
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute
name=
"mixed"
type=
"xsd:boolean"
use=
"optional"
default=
"false"
>
<xsd:annotation>
<xsd:documentation>
Not allowed if simpleContent child is chosen.
May be overriden by setting on complexContent child.
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute
name=
"abstract"
type=
"xsd:boolean"
use=
"optional"
default=
"false"
/>
<xsd:attribute
name=
"final"
type=
"xsd:derivationSet"
/>
<xsd:attribute
name=
"block"
type=
"xsd:derivationSet"
/>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType
name=
"topLevelComplexType"
>
<xsd:complexContent>
<xsd:restriction
base=
"xsd:complexType"
>
<xsd:sequence>
<xsd:element
ref=
"xsd:annotation"
minOccurs=
"0"
/>
<xsd:group
ref=
"xsd:complexTypeModel"
/>
</xsd:sequence>
<xsd:attribute
name=
"name"
type=
"xsd:NCName"
use=
"required"
/>
<xsd:anyAttribute
namespace=
"##other"
processContents=
"lax"
/>
</xsd:restriction>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType
name=
"localComplexType"
>
<xsd:complexContent>
<xsd:restriction
base=
"xsd:complexType"
>
<xsd:sequence>
<xsd:element
ref=
"xsd:annotation"
minOccurs=
"0"
/>
<xsd:group
ref=
"xsd:complexTypeModel"
/>
</xsd:sequence>
<xsd:attribute
name=
"name"
use=
"prohibited"
/>
<xsd:attribute
name=
"abstract"
use=
"prohibited"
/>
<xsd:attribute
name=
"final"
use=
"prohibited"
/>
<xsd:attribute
name=
"block"
use=
"prohibited"
/>
<xsd:anyAttribute
namespace=
"##other"
processContents=
"lax"
/>
</xsd:restriction>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType
name=
"restrictionType"
>
<xsd:complexContent>
<xsd:extension
base=
"xsd:annotated"
>
<xsd:sequence>
<xsd:choice
minOccurs=
"0"
>
<xsd:group
ref=
"xsd:typeDefParticle"
/>
<xsd:group
ref=
"xsd:simpleRestrictionModel"
/>
</xsd:choice>
<xsd:group
ref=
"xsd:attrDecls"
/>
</xsd:sequence>
<xsd:attribute
name=
"base"
type=
"xsd:QName"
use=
"required"
/>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType
name=
"complexRestrictionType"
>
<xsd:complexContent>
<xsd:restriction
base=
"xsd:restrictionType"
>
<xsd:sequence>
<xsd:element
ref=
"xsd:annotation"
minOccurs=
"0"
/>
<xsd:choice
minOccurs=
"0"
>
<xsd:annotation>
<xsd:documentation>
This choice is added simply to
make this a valid restriction per the REC
</xsd:documentation>
</xsd:annotation>
<xsd:group
ref=
"xsd:typeDefParticle"
/>
</xsd:choice>
<xsd:group
ref=
"xsd:attrDecls"
/>
</xsd:sequence>
<xsd:anyAttribute
namespace=
"##other"
processContents=
"lax"
/>
</xsd:restriction>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType
name=
"extensionType"
>
<xsd:complexContent>
<xsd:extension
base=
"xsd:annotated"
>
<xsd:sequence>
<xsd:group
ref=
"xsd:typeDefParticle"
minOccurs=
"0"
/>
<xsd:group
ref=
"xsd:attrDecls"
/>
</xsd:sequence>
<xsd:attribute
name=
"base"
type=
"xsd:QName"
use=
"required"
/>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:element
name=
"complexContent"
id=
"complexContent"
>
<xsd:annotation>
<xsd:documentation
source=
"http://www.w3.org/TR/xmlschema-1/#element-complexContent"
/>
</xsd:annotation>
<xsd:complexType>
<xsd:complexContent>
<xsd:extension
base=
"xsd:annotated"
>
<xsd:choice>
<xsd:element
name=
"restriction"
type=
"xsd:complexRestrictionType"
/>
<xsd:element
name=
"extension"
type=
"xsd:extensionType"
/>
</xsd:choice>
<xsd:attribute
name=
"mixed"
type=
"xsd:boolean"
>
<xsd:annotation>
<xsd:documentation>
Overrides any setting on complexType parent.
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
</xsd:element>
<xsd:complexType
name=
"simpleRestrictionType"
>
<xsd:complexContent>
<xsd:restriction
base=
"xsd:restrictionType"
>
<xsd:sequence>
<xsd:element
ref=
"xsd:annotation"
minOccurs=
"0"
/>
<xsd:choice
minOccurs=
"0"
>
<xsd:annotation>
<xsd:documentation>
This choice is added simply to
make this a valid restriction per the REC
</xsd:documentation>
</xsd:annotation>
<xsd:group
ref=
"xsd:simpleRestrictionModel"
/>
</xsd:choice>
<xsd:group
ref=
"xsd:attrDecls"
/>
</xsd:sequence>
<xsd:anyAttribute
namespace=
"##other"
processContents=
"lax"
/>
</xsd:restriction>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType
name=
"simpleExtensionType"
>
<xsd:complexContent>
<xsd:restriction
base=
"xsd:extensionType"
>
<xsd:sequence>
<xsd:annotation>
<xsd:documentation>
No typeDefParticle group reference
</xsd:documentation>
</xsd:annotation>
<xsd:element
ref=
"xsd:annotation"
minOccurs=
"0"
/>
<xsd:group
ref=
"xsd:attrDecls"
/>
</xsd:sequence>
<xsd:anyAttribute
namespace=
"##other"
processContents=
"lax"
/>
</xsd:restriction>
</xsd:complexContent>
</xsd:complexType>
<xsd:element
name=
"simpleContent"
id=
"simpleContent"
>
<xsd:annotation>
<xsd:documentation
source=
"http://www.w3.org/TR/xmlschema-1/#element-simpleContent"
/>
</xsd:annotation>
<xsd:complexType>
<xsd:complexContent>
<xsd:extension
base=
"xsd:annotated"
>
<xsd:choice>
<xsd:element
name=
"restriction"
type=
"xsd:simpleRestrictionType"
/>
<xsd:element
name=
"extension"
type=
"xsd:simpleExtensionType"
/>
</xsd:choice>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
</xsd:element>
<xsd:element
name=
"complexType"
type=
"xsd:topLevelComplexType"
id=
"complexType"
>
<xsd:annotation>
<xsd:documentation
source=
"http://www.w3.org/TR/xmlschema-1/#element-complexType"
/>
</xsd:annotation>
</xsd:element>