Index: MasterTestSuite/sourcegenerator/simpleType/www.openapplications.org_oagis_9_unqualifieddatatypes_1.1/UnqualifiedDataTypes.xsd
===================================================================
--- MasterTestSuite/sourcegenerator/simpleType/www.openapplications.org_oagis_9_unqualifieddatatypes_1.1/UnqualifiedDataTypes.xsd (Revision 0)
+++ MasterTestSuite/sourcegenerator/simpleType/www.openapplications.org_oagis_9_unqualifieddatatypes_1.1/UnqualifiedDataTypes.xsd (Revision 0)
@@ -0,0 +1,362 @@
+
+
+
+
+ UDT0000011
+ UDT
+ Identifier. Type
+ 1.0
+ A character string to identify and distinguish uniquely, one instance of an object in an identification scheme from all other objects in the same scheme together with relevant supplementary information.
+ Identifier
+ string
+ normalizedString
+ Other supplementary components in the CCT are captured as part of the token and name for the schema module containing the identifer list and thus, are not declared as attributes.
+
+
+
+
+
+
+
+ UNDT000011-SC2
+ SC
+ Identification Scheme. Identifier
+ The identification of the identification scheme.
+ Identification Scheme
+ Identification
+ Identifier
+ string
+
+
+
+
+
+
+ UNDT000011-SC3
+ SC
+ Identification Scheme. Name. Text
+ The name of the identification scheme.
+ Identification Scheme
+ Name
+ Text
+ string
+
+
+
+
+
+
+ UNDT000011-SC4
+ SC
+ Identification Scheme Agency. Identifier
+ The identification of the agency that maintains the identification scheme.
+ Identification Scheme Agency
+ Identification
+ Identifier
+ string
+ Defaults to the UN/EDIFACT data element 3055 code list.
+
+
+
+
+
+
+ UNDT000011-SC5
+ SC
+ Identification Scheme Agency. Name. Text
+ The name of the agency that maintains the identification scheme.
+ Identification Scheme Agency
+ Agency Name
+ Text
+ string
+
+
+
+
+
+
+ UNDT000011-SC6
+ SC
+ Identification Scheme. Version. Identifier
+ The version of the identification scheme.
+ Identification Scheme
+ Version
+ Identifier
+ string
+ normalizedString
+
+
+
+
+
+
+ UDT0000011-SC7
+ SC
+ Identification Scheme Data. Uniform Resource. Identifier
+ The Uniform Resource Identifier that identifies where the identification scheme data is located.
+ Identification Scheme Data
+ Uniform Resource Identifier
+ Identifier
+ string
+ anyURI
+
+
+
+
+
+
+ UDT0000011-SC8
+ SC
+ Identification Scheme. Uniform Resource. Identifier
+ The Uniform Resource Identifier that identifies where the identification scheme is located.
+ Identification Scheme
+ Uniform Resource Identifier
+ Identifier
+ string
+ anyURI
+
+
+
+
+
+
+
+
+ UDT000009
+ UDT
+ Date. Type
+ 1.0
+ One calendar day according the Gregorian calendar.
+ Date
+ string
+ date
+
+
+
+
+
+
+ UDT0000010
+ UDT
+ Time. Type
+ 1.0
+ The instance of time that occurs every day.
+ Time
+ string
+ time
+
+
+
+
+
+
+ UDT000008
+ UDT
+ Date Time. Type
+ 1.0
+ A particular point in the progression of time together with the relevant supplementary information.
+ Date Time
+ string
+ dateTime
+ Can be used for a date and/or time.
+
+
+
+
+
+
+ UDT000007
+ UDT
+ Code. Type
+ 1.0
+ A character string (letters, figures, or symbols) that for brevity and/or languange independence may be used to represent or replace a definitive value or text of an attribute together with relevant supplementary information.
+ Code
+ string
+ normalizedString
+ Other supplementary components in the CCT are captured as part of the token and name for the schema module containing the code list and thus, are not declared as attributes.
+
+
+
+
+
+
+
+ UNDT000007-SC2
+ SC
+ Code List. Identifier
+ The identification of a list of codes.
+ Code List
+ Identification
+ Identifier
+ string
+
+
+
+
+
+
+ UNDT000007-SC3
+ SC
+ Code List. Agency. Identifier
+ An agency that maintains one or more lists of codes.
+ Code List
+ Agency
+ Identifier
+ string
+ Defaults to the UN/EDIFACT data element 3055 code list.
+
+
+
+
+
+
+ UNDT000007-SC4
+ SC
+ Code List. Agency Name. Text
+ The name of the agency that maintains the list of codes.
+ Code List
+ Agency Name
+ Text
+ string
+
+
+
+
+
+
+ UNDT000007-SC5
+ SC
+ Code List. Name. Text
+ The name of a list of codes.
+ Code List
+ Name
+ Text
+ string
+
+
+
+
+
+
+ UNDT000007-SC6
+ SC
+ Code List. Identifier
+ The identification of a list of codes.
+ Code List
+ Identification
+ Identifier
+ string
+ string
+
+
+
+
+
+
+ UDT000007-SC7
+ SC
+ Code. Name. Text
+ The textual equivalent of the code content component.
+ Code
+ Name
+ Text
+ string
+ string
+
+
+
+
+
+
+ UDT000007-SC8
+ SC
+ Language. Identifier
+ The identifier of the language used in the code name.
+ Language
+ Identification
+ Identifier
+ string
+ language
+
+
+
+
+
+
+ UDT000007-SC9
+ SC
+ Code List. Uniform Resource. Identifier
+ The Uniform Resource Identifier that identifies where the code list is located.
+ Code List
+ Uniform Resource Identifier
+ Identifier
+ string
+ anyURI
+
+
+
+
+
+
+ UDT000007-SC10
+ SC
+ Code List Scheme. Uniform Resource. Identifier
+ The Uniform Resource Identifier that identifies where the code list scheme is located.
+ Code List Scheme
+ Uniform Resource Identifier
+ Identifier
+ string
+ anyURI
+
+
+
+
+
+
+
+
+ UDT0000019
+ UDT
+ Text. Type
+ 1.0
+ A character string (i.e. a finite set of characters) generally in the form of words of a language.
+ Text
+ string
+ string
+
+
+
+
+
+
+
+ UDT0000019-SC2
+ SC
+ Language. Identifier
+ The identifier of the language used in the content component.
+ Language
+ Identification
+ Identifier
+ string
+ language
+
+
+
+
+
+
Index: MasterTestSuite/sourcegenerator/simpleType/www.openapplications.org_oagis_9_codelists/CodeLists.xsd
===================================================================
--- MasterTestSuite/sourcegenerator/simpleType/www.openapplications.org_oagis_9_codelists/CodeLists.xsd (Revision 0)
+++ MasterTestSuite/sourcegenerator/simpleType/www.openapplications.org_oagis_9_codelists/CodeLists.xsd (Revision 0)
@@ -0,0 +1,97 @@
+
+
+
+
+
+
+
+ Allows the user to use any of the codes that OAGi
+ defines or add additional values.
+
+
+
+
+
+
+
+ The acknowledge values that OAGi defines for OAGIS.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Allows the user to use any of the codes that OAGi
+ defines or add additional values.
+
+
+
+
+
+
+
+ The action values that OAGi defines for OAGIS.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Index: MasterTestSuite/sourcegenerator/simpleType/www.openapplications.org_oagis_9_languagecode_5639_1988/CodeList_LanguageCode_ISO_7_04.xsd
===================================================================
--- MasterTestSuite/sourcegenerator/simpleType/www.openapplications.org_oagis_9_languagecode_5639_1988/CodeList_LanguageCode_ISO_7_04.xsd (Revision 0)
+++ MasterTestSuite/sourcegenerator/simpleType/www.openapplications.org_oagis_9_languagecode_5639_1988/CodeList_LanguageCode_ISO_7_04.xsd (Revision 0)
@@ -0,0 +1,25 @@
+
+
+
+
+
+
+
Index: MasterTestSuite/sourcegenerator/simpleType/binding.xml
===================================================================
--- MasterTestSuite/sourcegenerator/simpleType/binding.xml (Revision 0)
+++ MasterTestSuite/sourcegenerator/simpleType/binding.xml (Revision 0)
@@ -0,0 +1,61 @@
+
+
+
+ org.oagis
+ http://www.openapplications.org/oagis/9
+
+
+
+ org.oagis.codelists
+
+ http://www.openapplications.org/oagis/9/codelists
+
+
+
+
+ org.oagis.qualifieddatatypes
+
+ http://www.openapplications.org/oagis/9/qualifieddatatypes/1.1
+
+
+
+
+ com.org.oagis.currencycode
+
+ http://www.openapplications.org/oagis/9/currencycode/54217:2001
+
+
+
+
+ .ianamiemediatypes
+
+ http://www.openapplications.org/oagis/9/IANAMIMEMediaTypes:2003
+
+
+
+
+ org.oagis.languagecode
+
+ http://www.openapplications.org/oagis/9/languagecode/5639:1988
+
+
+
+
+ org.oagis.unitcode
+
+ http://www.openapplications.org/oagis/9/unitcode/66411:2001
+
+
+
+
+ org.oagis.unqualifieddatatypes
+
+ http://www.openapplications.org/oagis/9/unqualifieddatatypes/1.1
+
+
+
+
\ Kein Zeilenvorschub am Ende der Datei
Index: MasterTestSuite/sourcegenerator/simpleType/test.xsd
===================================================================
--- MasterTestSuite/sourcegenerator/simpleType/test.xsd (Revision 0)
+++ MasterTestSuite/sourcegenerator/simpleType/test.xsd (Revision 0)
@@ -0,0 +1,87 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Is the schema based inheritance for all BODs. The
+ logical model would also include the DataArea.
+
+
+
+
+
+ OAGIS Release this BOD Instances belongs or the
+ OAGIS release that the derivative work is based on.
+
+
+
+
+
+
+ Indicates the version of the given BOD defintion.
+
+
+
+
+
+
+ Indicates whether this BOD is being sent in a "Test"
+ or a "Production" mode. If the BOD is being sent in
+ a test mode, it's information should not affect the
+ business operation. However, if the BOD is sent in
+ "Production" mode it is assumed that all test has
+ been complete and the contents of the BOD are to
+ affect the operation of the receiving business
+ application(s).
+
+
+
+
+
+
+ Indicates the language that the contents of the BOD
+ is in unless otherwise stated.
+
+
+
+
+
+
+
+
+
+
+
Index: MasterTestSuite/sourcegenerator/simpleType/www.openapplications.org_oagis_9_qualifieddatatypes_1.1/QualifiedDataTypes.xsd
===================================================================
--- MasterTestSuite/sourcegenerator/simpleType/www.openapplications.org_oagis_9_qualifieddatatypes_1.1/QualifiedDataTypes.xsd (Revision 0)
+++ MasterTestSuite/sourcegenerator/simpleType/www.openapplications.org_oagis_9_qualifieddatatypes_1.1/QualifiedDataTypes.xsd (Revision 0)
@@ -0,0 +1,152 @@
+
+
+
+
+
+
+
+ QDT000013
+ QDT
+
+ Normalized String_ Text. Type
+
+ 1.0
+
+ normalizedString represents white space normalized
+ strings. The ·value space· of normalizedString is
+ the set of strings that do not contain the carriage
+ return (#xD), line feed (#xA) nor tab (#x9)
+ characters. The ·lexical space· of normalizedString
+ is the set of strings that do not contain the
+ carriage return (#xD) nor tab (#x9) characters. The
+ ·base type· of normalizedString is string.
+
+
+ Text
+
+
+ Normalized String
+
+ string
+ normalizedString
+
+
+
+
+
+
+
+ QDT000016
+ QDT
+
+ Language_ Code. Type
+
+ 1.0
+
+ language represents natural language identifiers as
+ defined by [RFC 1766]. The ·value space· of language
+ is the set of all strings that are valid language
+ identifiers as defined in the language
+ identification section of [XML 1.0 (Second
+ Edition)]. The ·lexical space· of language is the
+ set of all strings that are valid language
+ identifiers as defined in the language
+ identification section of [XML 1.0 (Second
+ Edition)]. The ·base type· of language is token.
+
+
+ Code
+
+ Language
+ string
+ language
+
+
+
+
+
+
+
+ QDT000014
+ QDT
+
+ Token_ Text. Type
+
+ 1.0
+
+ token represents tokenized strings. The ·value
+ space· of token is the set of strings that do not
+ contain the line feed (#xA) nor tab (#x9)
+ characters, that have no leading or trailing spaces
+ (#x20) and that have no internal sequences of two or
+ more spaces. The ·lexical space· of token is the set
+ of strings that do not contain the line feed (#xA)
+ nor tab (#x9) characters, that have no leading or
+ trailing spaces (#x20) and that have no internal
+ sequences of two or more spaces. The ·base type· of
+ token is normalizedString.
+
+
+ Text
+
+ Token
+ string
+ token
+
+
+
+
+
+
+
+ QDT000012
+ QDT
+
+ String_ Text. Type
+
+ 1.0
+
+ The string datatype represents character strings in
+ XML. The ·value space· of string is the set of
+ finite-length sequences of characters (as defined in
+ [XML 1.0 (Second Edition)]) that ·match· the Char
+ production from [XML 1.0 (Second Edition)]. A
+ character is an atomic unit of communication; it is
+ not further specified except to note that every
+ character has a corresponding Universal Character
+ Set code point, which is an integer.
+
+
+ Text
+
+ String
+ string
+ string
+
+
+
+
+
Index: MasterTestSuite/sourcegenerator/simpleType/TestDescriptor.xml
===================================================================
--- MasterTestSuite/sourcegenerator/simpleType/TestDescriptor.xml (Revision 0)
+++ MasterTestSuite/sourcegenerator/simpleType/TestDescriptor.xml (Revision 0)
@@ -0,0 +1,16 @@
+
+
+ Collection of tests for the definition and use of simpleType definitions
+ Werner Guttmann
+ See CASTOR-1839
+ basic capability
+
+ test.xsd
+ binding.xml
+ org.oagis.Example
+
+ Tests code generation for simple types defined as restrictions of UNIONs
+ input.xml
+
+
+
Index: MasterTestSuite/sourcegenerator/simpleType/input.xml
===================================================================
--- MasterTestSuite/sourcegenerator/simpleType/input.xml (Revision 0)
+++ MasterTestSuite/sourcegenerator/simpleType/input.xml (Revision 0)
@@ -0,0 +1,13 @@
+
+
+