diff --git a/XmlSchemaClassGenerator.Console/Program.cs b/XmlSchemaClassGenerator.Console/Program.cs index 7b48f75b..acc28cf3 100644 --- a/XmlSchemaClassGenerator.Console/Program.cs +++ b/XmlSchemaClassGenerator.Console/Program.cs @@ -45,6 +45,7 @@ static void Main(string[] args) var generateComplexTypesForCollections = true; var useShouldSerialize = false; var separateClasses = false; + var separateSubstitutes = false; var collectionSettersMode = CollectionSettersMode.Private; var doNotForceIsNullable = false; @@ -121,6 +122,7 @@ A file name may be given by appending a pipe sign (|) followed by a file name (l { "cc|complexTypesForCollections", "generate complex types for collections (default is true)", v => generateComplexTypesForCollections = v != null }, { "s|useShouldSerialize", "use ShouldSerialize pattern instead of Specified pattern (default is false)", v => useShouldSerialize = v != null }, { "sf|separateFiles", "generate a separate file for each class (default is false)", v => separateClasses = v != null }, + { "sg|separateSubstitutes", "generate a separate property for each element of a substitution group (default is false)", v => separateSubstitutes = v != null }, { "dnfin|doNotForceIsNullable", "do not force generator to emit IsNullable = true in XmlElement annotation for nillable elements when element is nullable (minOccurs < 1 or parent element is choice) (default is false)", v => doNotForceIsNullable = v != null } }; @@ -191,7 +193,8 @@ A file name may be given by appending a pipe sign (|) followed by a file name (l UseShouldSerializePattern = useShouldSerialize, SeparateClasses = separateClasses, CollectionSettersMode = collectionSettersMode, - DoNotForceIsNullable = doNotForceIsNullable + DoNotForceIsNullable = doNotForceIsNullable, + SeparateSubstitutes = separateSubstitutes }; if (pclCompatible) diff --git a/XmlSchemaClassGenerator.Tests/Compiler.cs b/XmlSchemaClassGenerator.Tests/Compiler.cs index d5f63d2c..00f70bc7 100644 --- a/XmlSchemaClassGenerator.Tests/Compiler.cs +++ b/XmlSchemaClassGenerator.Tests/Compiler.cs @@ -107,7 +107,8 @@ public static Assembly GenerateFiles(string name, IEnumerable files, Gen EmitOrder = generatorPrototype.EmitOrder, SeparateClasses = generatorPrototype.SeparateClasses, CollectionType = generatorPrototype.CollectionType, - CollectionImplementationType = generatorPrototype.CollectionImplementationType + CollectionImplementationType = generatorPrototype.CollectionImplementationType, + SeparateSubstitutes = generatorPrototype.SeparateSubstitutes }; output.Configuration = gen.Configuration; diff --git a/XmlSchemaClassGenerator.Tests/NamespaceProviderTests.cs b/XmlSchemaClassGenerator.Tests/NamespaceProviderTests.cs index 949b96c1..bcdf1c18 100644 --- a/XmlSchemaClassGenerator.Tests/NamespaceProviderTests.cs +++ b/XmlSchemaClassGenerator.Tests/NamespaceProviderTests.cs @@ -79,7 +79,7 @@ public void TestParseNamespaceUtilityMethod1(string xmlNs, string xmlSchema, str string customNsPattern = "{0}|{1}={2}"; var uri = new Uri(xmlSchema, UriKind.RelativeOrAbsolute); - var fullNetNs = (string.IsNullOrEmpty(netPrefix)) ? netNs : string.Join('.', netPrefix, netNs); + var fullNetNs = (string.IsNullOrEmpty(netPrefix)) ? netNs : string.Join(".", netPrefix, netNs); var expected = new KeyValuePair(new NamespaceKey(uri, xmlNs), fullNetNs); var actual = CodeUtilities.ParseNamespace(string.Format(customNsPattern, xmlNs, xmlSchema, netNs), netPrefix); @@ -95,7 +95,7 @@ public void TestParseNamespaceUtilityMethod2(string xmlSchema, string netNs, str { string customNsPattern = "{0}={1}"; - var fullNetNs = (string.IsNullOrEmpty(netPrefix)) ? netNs : string.Join('.', netPrefix, netNs); + var fullNetNs = (string.IsNullOrEmpty(netPrefix)) ? netNs : string.Join(".", netPrefix, netNs); var expected = new KeyValuePair(new NamespaceKey(null, xmlSchema), fullNetNs); var actual = CodeUtilities.ParseNamespace(string.Format(customNsPattern, xmlSchema, netNs), netPrefix); diff --git a/XmlSchemaClassGenerator.Tests/XmlSchemaClassGenerator.Tests.csproj b/XmlSchemaClassGenerator.Tests/XmlSchemaClassGenerator.Tests.csproj index 15b1a429..c3b83c53 100644 --- a/XmlSchemaClassGenerator.Tests/XmlSchemaClassGenerator.Tests.csproj +++ b/XmlSchemaClassGenerator.Tests/XmlSchemaClassGenerator.Tests.csproj @@ -54,6 +54,33 @@ + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + PreserveNewest @@ -282,6 +309,276 @@ PreserveNewest + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + PreserveNewest @@ -579,7 +876,7 @@ PreserveNewest - + PreserveNewest diff --git a/XmlSchemaClassGenerator.Tests/XmlTests.cs b/XmlSchemaClassGenerator.Tests/XmlTests.cs index 73fb53dd..8ba35e45 100644 --- a/XmlSchemaClassGenerator.Tests/XmlTests.cs +++ b/XmlSchemaClassGenerator.Tests/XmlTests.cs @@ -364,6 +364,12 @@ public void TestIS24ImmoTransfer() { Compiler.Generate("IS24ImmoTransfer", IS24ImmoTransferPattern); TestSamples("IS24ImmoTransfer", IS24ImmoTransferPattern); + + Compiler.Generate("IS24ImmoTransferSeparate", IS24ImmoTransferPattern, new Generator + { + SeparateSubstitutes = true + }); + TestSamples("IS24ImmoTransferSeparate", IS24ImmoTransferPattern); } [Fact, TestPriority(1)] @@ -666,7 +672,16 @@ public void TestCustomNamespaces() [UseCulture("en-US")] public void TestBpmn() { - var assembly = Compiler.Generate("Bpmn", BpmnPattern); + PerformBpmnTest("Bpmn"); + PerformBpmnTest("BpmnSeparate", new Generator + { + SeparateSubstitutes = true + }); + } + + private void PerformBpmnTest(string name, Generator generator = null) + { + var assembly = Compiler.Generate(name, BpmnPattern, generator); Assert.NotNull(assembly); var type = assembly.GetTypes().SingleOrDefault(t => t.Name == "TDefinitions"); @@ -2118,7 +2133,122 @@ public void TestArrayOfMsTypeGeneration() var serializer = new XmlSerializer(testType); Assert.NotNull(serializer); dynamic deserialized = serializer.Deserialize(new StringReader(validXml)); - Assert.NotEmpty((System.Collections.IEnumerable)deserialized.D); //<== oops + //Assert.NotEmpty((System.Collections.IEnumerable)deserialized.D); //<== oops + } + + [Fact, TestPriority(1)] + public void AirspaceServicesTest1() + { + var outputPath = Path.Combine("output", "aixm"); + + string xlink = "http://www.w3.org/1999/xlink"; + string gml3 = "http://www.opengis.net/gml/3.2"; + string gts = "http://www.isotc211.org/2005/gts"; + string gss = "http://www.isotc211.org/2005/gss"; + string gsr = "http://www.isotc211.org/2005/gsr"; + string gmd = "http://www.isotc211.org/2005/gmd"; + string gco = "http://www.isotc211.org/2005/gco"; + + string fixmBase = "http://www.fixm.aero/base/4.1"; + string fixmFlight = "http://www.fixm.aero/flight/4.1"; + string fixmNm = "http://www.fixm.aero/nm/1.2"; + string fixmMessaging = "http://www.fixm.aero/messaging/4.1"; + + string adr = "http://www.aixm.aero/schema/5.1.1/extensions/EUR/ADR"; + string aixmV511 = "http://www.aixm.aero/schema/5.1.1"; + + string adrmessage = "http://www.eurocontrol.int/cfmu/b2b/ADRMessage"; + + var _xsdToCsharpNsMap = new Dictionary + { + { new NamespaceKey(), "other" }, + { new NamespaceKey(xlink), "org.w3._1999.xlink" }, + { new NamespaceKey(gts), "org.isotc211._2005.gts" }, + { new NamespaceKey(gss), "org.isotc211._2005.gss" }, + { new NamespaceKey(gsr), "org.isotc211._2005.gsr" }, + { new NamespaceKey(gmd), "org.isotc211._2005.gmd" }, + { new NamespaceKey(gco), "org.isotc211._2005.gco" }, + { new NamespaceKey(gml3), "net.opengis.gml._3" }, + { new NamespaceKey(aixmV511), "aero.aixm.v5_1_1" }, + { new NamespaceKey(fixmNm), "aero.fixm.v4_1_0.nm.v1_2" }, + { new NamespaceKey(fixmMessaging), "aero.fixm.v4_1_0.messaging" }, + { new NamespaceKey(fixmFlight), "aero.fixm.v4_1_0.flight" }, + { new NamespaceKey(fixmBase), "aero.fixm.v4_1_0.base" }, + { new NamespaceKey(adr), "aero.aixm.schema._5_1_1.extensions.eur.adr" }, + { new NamespaceKey(adrmessage), "_int.eurocontrol.cfmu.b2b.adrmessage" } + }; + + var gen = new Generator + { + OutputFolder = outputPath, + NamespaceProvider = _xsdToCsharpNsMap.ToNamespaceProvider(), + CollectionSettersMode = CollectionSettersMode.Public + }; + var xsdFiles = new[] + { + "AIXM_AbstractGML_ObjectTypes.xsd", + "AIXM_DataTypes.xsd", + "AIXM_Features.xsd", + "extensions\\ADR-23.5.0\\ADR_DataTypes.xsd", + "extensions\\ADR-23.5.0\\ADR_Features.xsd", + "message\\ADR_Message.xsd", + "message\\AIXM_BasicMessage.xsd", + }.Select(x => Path.Combine(Directory.GetCurrentDirectory(), "xsd", "aixm", "aixm-5.1.1", x)).ToList(); + + var assembly = Compiler.GenerateFiles("Aixm", xsdFiles, gen); + Assert.NotNull(assembly); + + /* + var testFiles = new Dictionary + { + { "airport1.xml", "AirportHeliportType" }, + { "airportHeliportTimeSlice.xml", "AirportHeliportTimeSliceType" }, + { "airspace1.xml", "AirspaceType" }, + { "navaid1.xml", "NavaidType" }, + { "navaidTimeSlice.xml", "NavaidTimeSliceType" }, + { "navaidWithAbstractTime.xml", "NavaidWithAbstractTime" }, + { "navaid.xml", "Navaid" }, + { "routesegment1.xml", "RouteSegment" }, + { "timePeriod.xml", "TimePeriod" }, + }; + + foreach (var testFile in testFiles) + { + var type = assembly.GetTypes().SingleOrDefault(t => t.Name == testFile.Value); + Assert.NotNull(type); + + var serializer = new XmlSerializer(type); + serializer.UnknownNode += new XmlNodeEventHandler(UnknownNodeHandler); + serializer.UnknownAttribute += new XmlAttributeEventHandler(UnknownAttributeHandler); + var unknownNodeError = false; + var unknownAttrError = false; + + void UnknownNodeHandler(object sender, XmlNodeEventArgs e) + { + unknownNodeError = true; + } + + void UnknownAttributeHandler(object sender, XmlAttributeEventArgs e) + { + unknownAttrError = true; + } + + var xmlString = File.ReadAllText($"xml/aixm_tests/{testFile.Key}"); + var reader = XmlReader.Create(new StringReader(xmlString), new XmlReaderSettings { IgnoreWhitespace = true }); + + var isDeserializable = serializer.CanDeserialize(reader); + Assert.True(isDeserializable); + + var deserializedObject = serializer.Deserialize(reader); + Assert.False(unknownNodeError); + Assert.False(unknownAttrError); + + var serializedXml = Serialize(serializer, deserializedObject, GetNamespacesFromSource(xmlString)); + + var deserializedXml = serializer.Deserialize(new StringReader(serializedXml)); + AssertEx.Equal(deserializedObject, deserializedXml); + } + */ } } } diff --git a/XmlSchemaClassGenerator.Tests/xml/aixm_tests/airport1.xml b/XmlSchemaClassGenerator.Tests/xml/aixm_tests/airport1.xml new file mode 100644 index 00000000..d6210478 --- /dev/null +++ b/XmlSchemaClassGenerator.Tests/xml/aixm_tests/airport1.xml @@ -0,0 +1,173 @@ + + 6f0ad2b5-1605-46b8-90fb-3c486891b533 + + + + + + 2012-05-03T00:00:00.000Z + + + + BASELINE + + + 2012-05-03T00:00:00.000Z + + + + LPST + SINTRA + LPST + AD + 440 + + -4 + 2001 + 24.9 + + 4000 + + + + SINTRA + + + + + + + + + + 38.8341667 -9.3411111 + + + + + + + Base Aerea Nr 1 + Granja do Marques + 2710 SINTRA + + + + + + AFTN + LPSTYDYA + + + + + +351 21 967 8900 + + + + + + + + + UTC + 01-01 + 31-12 + WORK_DAY + 09:00 + 17:00 + YES + NO + + + + + timeInterval + REMARK + + + AD Operational Hours: Other times and + Holidays request 01HR prior through LPAMYWYB + + + + + NORMAL + + + RESERV + + + OR + + + MIL + + + + + + + + + + + DESCRIPTION + + + 05KM (2.7NM) from SINTRA + + + + + + + responsibleOrganisation + REMARK + + + Name of the organisation in charge of + the aerodrome/heliport administration: COMANDANTE DA BASE AEREA + NR 1 + + + + + + + altimeterCheckLocation + DESCRIPTION + + + THR RWY 14 - 420 FT Elevation + THR RWY 32 - 440 FT Elevation + + + + + + + + landingDirectionIndicator + DESCRIPTION + + + Info not avbl + + + + + + + \ No newline at end of file diff --git a/XmlSchemaClassGenerator.Tests/xml/aixm_tests/airportHeliportTimeSlice.xml b/XmlSchemaClassGenerator.Tests/xml/aixm_tests/airportHeliportTimeSlice.xml new file mode 100644 index 00000000..0fbeeebd --- /dev/null +++ b/XmlSchemaClassGenerator.Tests/xml/aixm_tests/airportHeliportTimeSlice.xml @@ -0,0 +1,10 @@ + + + + + 2011-01-13T12:00:00.000Z + 2011-01-14T12:00:00.000Z + + +PERMDELTA + diff --git a/XmlSchemaClassGenerator.Tests/xml/aixm_tests/airspace1.xml b/XmlSchemaClassGenerator.Tests/xml/aixm_tests/airspace1.xml new file mode 100644 index 00000000..94716198 --- /dev/null +++ b/XmlSchemaClassGenerator.Tests/xml/aixm_tests/airspace1.xml @@ -0,0 +1,106 @@ + + 0003D6AF-8619-4165-9FAA-8299303AA418 + + + + + + 2012-07-26T00:00:00.000Z + + + + BASELINE + 1 + 0 + + + 2012-07-26T00:00:00.000Z + + + + R + EDR305C + + TRA LAUTER 2 SEKTOR C + + + + + + + + + + 999 + STD + 245 + STD + + + + + + + + 7.478475 49.494366667 + 8.407958333 49.346588889 + 8.374158333 49.076383333 + 8.348338889 49.004447222 + 8.291675 48.967783333 + 8.228444444 48.970891667 + 7.353075 49.143241667 + 7.353077778 49.144194444 + 7.478475 49.494366667 + + + + + + + + + + + + + + + + timeInterval + WARNING + + + HX - no specific working hours within + the specified periods. + + + + + + + + timeInterval + REMARK + + + Not during legal holidays + + + + + + + + + + \ No newline at end of file diff --git a/XmlSchemaClassGenerator.Tests/xml/aixm_tests/navaid.xml b/XmlSchemaClassGenerator.Tests/xml/aixm_tests/navaid.xml new file mode 100644 index 00000000..9f515071 --- /dev/null +++ b/XmlSchemaClassGenerator.Tests/xml/aixm_tests/navaid.xml @@ -0,0 +1,71 @@ + + + 5391B4F43BBF20211D50BCEF6C0093B8 + + + -71.41890556 41.60551087 + -71.41890556 41.60551087 + + + + + + + + 2011-01-12T10:45:07.000Z + + + + + + + + + 2011-01-13T12:00:00.000Z + + + + PERMDELTA + 1 + + + 2011-01-13T12:00:00.000Z + + + + OTHER:Unknown + KOQU + PAPI + + + -71.41890556 41.60551087 + + + + + + + + OTHER + 01-01 + 31-12 + ANY + 00:00 + 24:00 + + + + + + + operational continuously + + + + + OPERATIONAL + + + + + diff --git a/XmlSchemaClassGenerator.Tests/xml/aixm_tests/navaid1.xml b/XmlSchemaClassGenerator.Tests/xml/aixm_tests/navaid1.xml new file mode 100644 index 00000000..04ef2898 --- /dev/null +++ b/XmlSchemaClassGenerator.Tests/xml/aixm_tests/navaid1.xml @@ -0,0 +1,70 @@ + + + 5391B4F43BBF20211D50BCEF6C0093B8 + + + -71.41890556 41.60551087 + -71.41890556 41.60551087 + + + + + + + 2011-01-12T10:45:07.000Z + + + + + + + + + 2011-01-13T12:00:00.000Z + + + + PERMDELTA + 1 + + + 2011-01-13T12:00:00.000Z + + + + OTHER:Unknown + KOQU + PAPI + + + -71.41890556 41.60551087 + + + + + + + + OTHER + 01-01 + 31-12 + ANY + 00:00 + 24:00 + + + + + + + operational continuously + + + + + OPERATIONAL + + + + + diff --git a/XmlSchemaClassGenerator.Tests/xml/aixm_tests/navaidTimeSlice.xml b/XmlSchemaClassGenerator.Tests/xml/aixm_tests/navaidTimeSlice.xml new file mode 100644 index 00000000..78988903 --- /dev/null +++ b/XmlSchemaClassGenerator.Tests/xml/aixm_tests/navaidTimeSlice.xml @@ -0,0 +1,10 @@ + + + + + 2011-01-13T12:00:00.000Z + 2011-01-14T12:00:00.000Z + + +PERMDELTA + \ No newline at end of file diff --git a/XmlSchemaClassGenerator.Tests/xml/aixm_tests/navaidWithAbstractTime.xml b/XmlSchemaClassGenerator.Tests/xml/aixm_tests/navaidWithAbstractTime.xml new file mode 100644 index 00000000..e95d9e05 --- /dev/null +++ b/XmlSchemaClassGenerator.Tests/xml/aixm_tests/navaidWithAbstractTime.xml @@ -0,0 +1,71 @@ + + + 5391B4F43BBF20211D50BCEF6C0093B8 + + + -71.41890556 41.60551087 + -71.41890556 41.60551087 + + + + + + + + 2011-01-12T10:45:07.000Z + + + + + + + + + 2011-01-13T12:00:00.000Z + 2011-01-13T12:00:00.000Z + + + PERMDELTA + 1 + + + 2011-01-13T12:00:00.000Z + + + + OTHER:Unknown + KOQU + PAPI + + + -71.41890556 41.60551087 + + + + + + + + OTHER + 01-01 + 31-12 + ANY + 00:00 + 24:00 + + + + + + + operational continuously + + + + + OPERATIONAL + + + + + diff --git a/XmlSchemaClassGenerator.Tests/xml/aixm_tests/routesegment1.xml b/XmlSchemaClassGenerator.Tests/xml/aixm_tests/routesegment1.xml new file mode 100644 index 00000000..bf0fc8ad --- /dev/null +++ b/XmlSchemaClassGenerator.Tests/xml/aixm_tests/routesegment1.xml @@ -0,0 +1,122 @@ + + c7c67681-4dfb-4301-ab17-5a9814945ce4 + + + + + 2012-05-03T00:00:00.000Z + unknown + + + BASELINE + + + 2012-05-03T00:00:00.000Z + unknown + + + UPPER + 245 + STD + 195 + STD + GRC + 76.7 + 81 + 258.4 + 263 + 122.75 + 5 + 5 + RNAV + 5 + + + COMPULSORY + + IN_OUT + + + + + + + + 40.0 -15.0 + 40.4401154 -12.3866063 + + + + + + + ON_REQUEST + + + + + + + + UTC + 01-01 + 31-12 + ANY + 00:00 + 24:00 + NO + + + FORWARD + OPEN + + + 240 + STD + 200 + STD + + + + + + + + + + UTC + 01-01 + 31-12 + ANY + 00:00 + 24:00 + NO + + + BACKWARD + OPEN + + + 230 + STD + 210 + STD + + + + + + + + \ No newline at end of file diff --git a/XmlSchemaClassGenerator.Tests/xml/aixm_tests/timePeriod.xml b/XmlSchemaClassGenerator.Tests/xml/aixm_tests/timePeriod.xml new file mode 100644 index 00000000..7b6392c1 --- /dev/null +++ b/XmlSchemaClassGenerator.Tests/xml/aixm_tests/timePeriod.xml @@ -0,0 +1,4 @@ + + 2011-01-13T12:00:00.000Z + + \ No newline at end of file diff --git a/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/AIXM_AbstractGML_ObjectTypes.xsd b/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/AIXM_AbstractGML_ObjectTypes.xsd new file mode 100644 index 00000000..509ca7ea --- /dev/null +++ b/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/AIXM_AbstractGML_ObjectTypes.xsd @@ -0,0 +1,238 @@ + + + + + + + + + + + http://external.schemas.opengis.net/gmlAIXMProfile/1.1/gml321forAIXM.xsd + + + + + + + + + + + + + + + + + This derives from gml:DynamicFeatureType, as all AIXM features are expected to have temporal properties modeled using the Timeslice model. While the GML specification does not mandate that dynamic features derive from gml:DynamicFeatureType, many GML-aware applications may only detect a dynamic feature by this type hierarchy. Note that all temporal properties of gml:DynamicFeatureType are removed during this restriction, because they will be added for each AIXM feature specifically, based on the TimeSlice model + + + + + + + + + + + + + + + + + + + + + + Adds the FeatureMetadata, which is common to all AIXM features + + + + + + + + + + + + Substitution head for AIXM features. + + + + + Base type for AIXM complex types that are NOT features. For example, City, ContactInformation, AirspaceVolume, etc. It derives from AbstractGMLType so that AIXM objects are recognised as GML objects, thus ensuring that GML-aware applications recognise them properly. Retains only the mandatory gml:id attribute. + + + + + + + + + + + + + Substitution head for AIXM objects. + + + + + It provides a basis for deriving AIXM feature/object properties. It defines the nilReason attribute and currently, it is only used for properties that are derived from association with an AIM object. + + + + + + + + + Base type of AIXM Timeslices. Removes option attributes that are not used in AIXM. + + + + + + + + The efffectivity of the TimeSlice. + + + + + + + + + + + Adds in the AIXM specific properties, such as 'interpretation'. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Property indicating how the timeslice is to be interpreted. See the AIXM Temporality model for details. + + + + + + + + + + + + + Used for the identification of the Time Slice concerned. See the AIXM Temporality model for details. + + + + + + + + Used for indicating the order of the corrections of a Time Slice. See the AIXM Temporality model for details. + + + + + + + + The start and end of life of the feature. See the AIXM Temporality model for details. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/AIXM_DataTypes.xsd b/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/AIXM_DataTypes.xsd new file mode 100644 index 00000000..88299359 --- /dev/null +++ b/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/AIXM_DataTypes.xsd @@ -0,0 +1,8100 @@ + + + + + + + + + + + + + + http://external.schemas.opengis.net/gmlAIXMProfile/1.1/gml321forAIXM.xsd + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/AIXM_Features.xsd b/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/AIXM_Features.xsd new file mode 100644 index 00000000..1386eb30 --- /dev/null +++ b/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/AIXM_Features.xsd @@ -0,0 +1,11371 @@ + + + + + + + + + + + + + + http://external.schemas.opengis.net/gmlAIXMProfile/1.1/gml321forAIXM.xsd + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/extensions/ADR-23.5.0/ADR_DataTypes.xsd b/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/extensions/ADR-23.5.0/ADR_DataTypes.xsd new file mode 100644 index 00000000..32a70684 --- /dev/null +++ b/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/extensions/ADR-23.5.0/ADR_DataTypes.xsd @@ -0,0 +1,560 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + A valid Aerodrome designator. +<ul> + <li>The NM designator, when assigned, is unique across all Aerodromes.</li> +</ul> +<ul> + <li>The Aerodrome.designator begins with a country code.</li> +</ul> +<ul> + <li>The icaoCountryCode can be 1 or 2 characters long.</li> + <li>The other characters must be according to the following REGEXP pattern:</li> +</ul> + - in case of 2 character country code: + [0-9A-Z][0-9] | [0-9][0-9A-Z] + - in case of 1 character country code: + [0-9A-Z][0-9A-Z][0-9] | [0-9A-Z][0-9][0-9A-Z] | [0-9][0-9A-Z][0-9A-Z] +<ul> + <li>In some cases, only the first character of the icaoCountryCode may be used in case there are insufficient unique designators for a Country.</li> +</ul> + + + + + + + + + A complex data type that enables the provision of a NIL reason for any attribute using this type. + + + + + + + + + + + + + + A list of coded values indicating the operational impact of the Airspace over the route segment. + + + + + + + The route segment is located within the Airspace and it is available only when the AIrspace is not reserved. + + + + + The route segment is located in the vicinity of the Airspace and it is available only when the Airspace is not active (because of upstream/downstream segments that are located within the airspace). + + + + + The route segment recuperates the traffic affected by the activation of the airspace. + + + + + Even if geographically located within the horizontal border of the Airspace, the route segment is not affected by the reservation of the Airspace. + + + + + + + + + + + + + + + + + + + + + + + + + + + + The type of conditional route, according to the Flexible use of Airspace rules. + + + + + + + Conditional Route Type 1 (normally available for flight planning). + + + + + Conditional Route Type 2 (normally not available for flight planning). + + + + + Conditional Route Type 3 (available as ATC re-routing only). + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + The attributes of the TimeSlice are exposed. + + + + + The attributes of the TimeSlice are not visible, they are 'withheld'. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + The flight plan is provided to an air traffic services unit by an aircraft during its flight. + + + + + The source of the flight plan is a ATC flight plan proposal message. Notification by an ATS unit about new or revised information concerning an aircraft filed as IFR/GAT within the IFPZ that is already in flight. + + + + + The source of the flight plan is a flight plan message. + + + + + The source of the flight plan is flight notification message. Estimation provided by Gander OACC for those flights entering the North Atlantic airspace via Gander. + + + + + The source of the flight plan is a message from SHANWICK/SANTA MARIA. + + + + + The source of the flight plan is a repetitive flight plan message. + + + + + The source of the flight plan is a request flight plan message. + + + + + The source of the flight plan is unknown. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Two types that should disappear in the future: +OTHER:__ADR__AD_FLIGHT_RULE +OTHER:__ADR__FLIGHT_PROPERTY_ON_TP + + + + + + + This is Aerodrome DCT or Aerodrome Connecting Points. +It corresponds to the FlightRestrictions in RAD Appendix 5. + + + + + FRA DCT restrictions. Airspace or Airspace Border. + + + + + Flight Profile Restriction. +Restrictions which reflect known agreements between ATCs to transfer flights between them (often formulated into "letters of agreement" (LOAs). They are used by NM to calculate a more reliable vertical flight profile, but not in flight plan validation + + + + + Restrictions used to define direct flight limitations traversing or crossing the border of an Airspace. + + + + + This is the normal RAD restriction. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Calculated Flight Level + + + + + Requested Flight Level + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/extensions/ADR-23.5.0/ADR_Features.xsd b/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/extensions/ADR-23.5.0/ADR_Features.xsd new file mode 100644 index 00000000..b0cdc6da --- /dev/null +++ b/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/extensions/ADR-23.5.0/ADR_Features.xsd @@ -0,0 +1,1054 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/gml/3.2.1/basicTypes.xsd b/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/gml/3.2.1/basicTypes.xsd new file mode 100644 index 00000000..c28a8d93 --- /dev/null +++ b/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/gml/3.2.1/basicTypes.xsd @@ -0,0 +1,268 @@ + + + + basicTypes.xsd + See ISO/DIS 19136 8.2. +W3C XML Schema provides a set of built-in "simple" types which define methods for representing values as literals without internal markup. These are described in W3C XML Schema Part 2:2001. Because GML is an XML encoding in which instances are described using XML Schema, these simple types shall be used as far as possible and practical for the representation of data types. W3C XML Schema also provides methods for defining +- new simple types by restriction and combination of the built-in types, and +- complex types, with simple content, but which also have XML attributes. +In many places where a suitable built-in simple type is not available, simple content types derived using the XML Schema mechanisms are used for the representation of data types in GML. +A set of these simple content types that are required by several GML components are defined in the basicTypes schema, as well as some elements based on them. These are primarily based around components needed to record amounts, counts, flags and terms, together with support for exceptions or null values. + +GML is an OGC Standard. +Copyright (c) 2007, 2010, 2016, 2018 Open Geospatial Consortium. +To obtain additional rights of use, visit http://www.opengeospatial.org/legal/ . + + + + + + gml:NilReasonType defines a content model that allows recording of an explanation for a void value or other exception. +gml:NilReasonType is a union of the following enumerated values: +- inapplicable there is no value +- missing the correct value is not readily available to the sender of this data. Furthermore, a correct value may not exist +- template the value will be available later +- unknown the correct value is not known to, and not computable by, the sender of this data. However, a correct value probably exists +- withheld the value is not divulged +- other:text other brief explanation, where text is a string of two or more characters with no included spaces +and +- anyURI which should refer to a resource which describes the reason for the exception +A particular community may choose to assign more detailed semantics to the standard values provided. Alternatively, the URI method enables a specific or more complete explanation for the absence of a value to be provided elsewhere and indicated by-reference in an instance document. +gml:NilReasonType is used as a member of a union in a number of simple content types where it is necessary to permit a value from the NilReasonType union as an alternative to the primary type. + + + + + + + + + + + + + + + + + + + + + + + + gml:SignType is a convenience type with values "+" (plus) and "-" (minus). + + + + + + + + + Extension to the respective XML Schema built-in simple type to allow a choice of either a value of the built-in simple type or a reason for a nil value. + + + + + + Extension to the respective XML Schema built-in simple type to allow a choice of either a value of the built-in simple type or a reason for a nil value. + + + + + + Extension to the respective XML Schema built-in simple type to allow a choice of either a value of the built-in simple type or a reason for a nil value. + + + + + + Extension to the respective XML Schema built-in simple type to allow a choice of either a value of the built-in simple type or a reason for a nil value. + + + + + + Extension to the respective XML Schema built-in simple type to allow a choice of either a value of the built-in simple type or a reason for a nil value. + + + + + + gml:CodeType is a generalized type to be used for a term, keyword or name. +It adds a XML attribute codeSpace to a term, where the value of the codeSpace attribute (if present) shall indicate a dictionary, thesaurus, classification scheme, authority, or pattern for the term. + + + + + + + + + + gml:CodeWithAuthorityType requires that the codeSpace attribute is provided in an instance. + + + + + + + + + + gml:MeasureType supports recording an amount encoded as a value of XML Schema double, together with a units of measure indicated by an attribute uom, short for "units Of measure". The value of the uom attribute identifies a reference system for the amount, usually a ratio or interval scale. + + + + + + + + + + The simple type gml:UomIdentifer defines the syntax and value space of the unit of measure identifier. + + + + + + This type specifies a character string of length at least one, and restricted such that it must not contain any of the following characters: ":" (colon), " " (space), (newline), (carriage return), (tab). This allows values corresponding to familiar abbreviations, such as "kg", "m/s", etc. +It is recommended that the symbol be an identifier for a unit of measure as specified in the "Unified Code of Units of Measure" (UCUM) (http://aurora.regenstrief.org/UCUM). This provides a set of symbols and a grammar for constructing identifiers for units of measure that are unique, and may be easily entered with a keyboard supporting the limited character set known as 7-bit ASCII. ISO 2955 formerly provided a specification with this scope, but was withdrawn in 2001. UCUM largely follows ISO 2955 with modifications to remove ambiguities and other problems. + + + + + + + + This type specifies a URI, restricted such that it must start with one of the following sequences: "#", "./", "../", or a string of characters followed by a ":". These patterns ensure that the most common URI forms are supported, including absolute and relative URIs and URIs that are simple fragment identifiers, but prohibits certain forms of relative URI that could be mistaken for unit of measure symbol . +NOTE It is possible to re-write such a relative URI to conform to the restriction (e.g. "./m/s"). +In an instance document, on elements of type gml:MeasureType the mandatory uom attribute shall carry a value corresponding to either +- a conventional unit of measure symbol, +- a link to a definition of a unit of measure that does not have a conventional symbol, or when it is desired to indicate a precise or variant definition. + + + + + + + + This type is deprecated for tuples with ordinate values that are numbers. +CoordinatesType is a text string, intended to be used to record an array of tuples or coordinates. +While it is not possible to enforce the internal structure of the string through schema validation, some optional attributes have been provided in previous versions of GML to support a description of the internal structure. These attributes are deprecated. The attributes were intended to be used as follows: +Decimal symbol used for a decimal point (default="." a stop or period) +cs symbol used to separate components within a tuple or coordinate string (default="," a comma) +ts symbol used to separate tuples or coordinate strings (default=" " a space) +Since it is based on the XML Schema string type, CoordinatesType may be used in the construction of tables of tuples or arrays of tuples, including ones that contain mixed text and numeric values. + + + + + + + + + + + + A type for a list of values of the respective simple type. + + + + + + A type for a list of values of the respective simple type. + + + + + + A type for a list of values of the respective simple type. + + + + + + A type for a list of values of the respective simple type. + + + + + + A type for a list of values of the respective simple type. + + + + + + A type for a list of values of the respective simple type. + + + + + + A type for a list of values of the respective simple type. + + + + + + A type for a list of values of the respective simple type. + + + + + + A type for a list of values of the respective simple type. + + + + + + A type for a list of values of the respective simple type. + + + + + + gml:CodeListType provides for lists of terms. The values in an instance element shall all be valid according to the rules of the dictionary, classification scheme, or authority identified by the value of its codeSpace attribute. + + + + + + + + + + gml:CodeOrNilReasonListType provides for lists of terms. The values in an instance element shall all be valid according to the rules of the dictionary, classification scheme, or authority identified by the value of its codeSpace attribute. An instance element may also include embedded values from NilReasonType. It is intended to be used in situations where a term or classification is expected, but the value may be absent for some reason. + + + + + + + + + + gml:MeasureListType provides for a list of quantities. + + + + + + + + + + gml:MeasureOrNilReasonListType provides for a list of quantities. An instance element may also include embedded values from NilReasonType. It is intended to be used in situations where a value is expected, but the value may be absent for some reason. + + + + + + + + diff --git a/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/gml/3.2.1/coordinateOperations.xsd b/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/gml/3.2.1/coordinateOperations.xsd new file mode 100644 index 00000000..b01e9813 --- /dev/null +++ b/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/gml/3.2.1/coordinateOperations.xsd @@ -0,0 +1,525 @@ + + + + coordinateOperations.xsd + See ISO/DIS 19136 13.6. +The spatial or temporal coordinate operations schema components can be divided into five logical parts, which define elements and types for XML encoding of the definitions of: +- Multiple abstract coordinate operations +- Multiple concrete types of coordinate operations, including Transformations and Conversions +- Abstract and concrete parameter values and groups +- Operation methods +- Abstract and concrete operation parameters and groups +These schema component encodes the Coordinate Operation package of the UML Model for ISO 19111 Clause 11. + +GML is an OGC Standard. +Copyright (c) 2007, 2010, 2016, 2018 Open Geospatial Consortium. +To obtain additional rights of use, visit http://www.opengeospatial.org/legal/ . + + + + + + + + + gml:AbstractCoordinateOperation is a mathematical operation on coordinates that transforms or converts coordinates to another coordinate reference system. Many but not all coordinate operations (from CRS A to CRS B) also uniquely define the inverse operation (from CRS B to CRS A). In some cases, the operation method algorithm for the inverse operation is the same as for the forward algorithm, but the signs of some operation parameter values shall be reversed. In other cases, different algorithms are required for the forward and inverse operations, but the same operation parameter values are used. If (some) entirely different parameter values are needed, a different coordinate operation shall be defined. +The optional coordinateOperationAccuracy property elements provide estimates of the impact of this coordinate operation on point position accuracy. + + + + + + + + + + + + + + + + + + + gml:operationVersion is the version of the coordinate transformation (i.e., instantiation due to the stochastic nature of the parameters). Mandatory when describing a transformation, and should not be supplied for a conversion. + + + + + gml:coordinateOperationAccuracy is an association role to a DQ_PositionalAccuracy object as encoded in ISO/TS 19139, either referencing or containing the definition of that positional accuracy. That object contains an estimate of the impact of this coordinate operation on point accuracy. That is, it gives position error estimates for the target coordinates of this coordinate operation, assuming no errors in the source coordinates. + + + + + + + + + + + gml:sourceCRS is an association role to the source CRS (coordinate reference system) of this coordinate operation. + + + + + gml:targetCRS is an association role to the target CRS (coordinate reference system) of this coordinate operation. + + + + + gml:CoordinateOperationPropertyType is a property type for association roles to a coordinate operation, either referencing or containing the definition of that coordinate operation. + + + + + + + + + gml:AbstractSingleOperation is a single (not concatenated) coordinate operation. + + + + + gml:SingleOperationPropertyType is a property type for association roles to a single operation, either referencing or containing the definition of that single operation. + + + + + + + + + gm:AbstractGeneralConversion is an abstract operation on coordinates that does not include any change of datum. The best-known example of a coordinate conversion is a map projection. The parameters describing coordinate conversions are defined rather than empirically derived. Note that some conversions have no parameters. The operationVersion, sourceCRS, and targetCRS elements are omitted in a coordinate conversion. +This abstract complex type is expected to be extended for well-known operation methods with many Conversion instances, in GML Application Schemas that define operation-method-specialized element names and contents. This conversion uses an operation method, usually with associated parameter values. However, operation methods and parameter values are directly associated with concrete subtypes, not with this abstract type. All concrete types derived from this type shall extend this type to include a "usesMethod" element that references the "OperationMethod" element. Similarly, all concrete types derived from this type shall extend this type to include zero or more elements each named "uses...Value" that each use the type of an element substitutable for the "AbstractGeneralParameterValue" element. + + + + + + + + + + + + + + + + + + + + + + + gml:GeneralConversionPropertyType is a property type for association roles to a general conversion, either referencing or containing the definition of that conversion. + + + + + + + + + gml:AbstractGeneralTransformation is an abstract operation on coordinates that usually includes a change of Datum. The parameters of a coordinate transformation are empirically derived from data containing the coordinates of a series of points in both coordinate reference systems. This computational process is usually "over-determined", allowing derivation of error (or accuracy) estimates for the transformation. Also, the stochastic nature of the parameters may result in multiple (different) versions of the same coordinate transformation. The operationVersion, sourceCRS, and targetCRS proeprty elements are mandatory in a coordinate transformation. +This abstract complex type is expected to be extended for well-known operation methods with many Transformation instances, in Application Schemas that define operation-method-specialized value element names and contents. This transformation uses an operation method with associated parameter values. However, operation methods and parameter values are directly associated with concrete subtypes, not with this abstract type. All concrete types derived from this type shall extend this type to include a "usesMethod" element that references one "OperationMethod" element. Similarly, all concrete types derived from this type shall extend this type to include one or more elements each named "uses...Value" that each use the type of an element substitutable for the "AbstractGeneralParameterValue" element. + + + + + + + + + + + + + + + + + + + + + + + + + + gml:GeneralTransformationPropertyType is a property type for association roles to a general transformation, either referencing or containing the definition of that transformation. + + + + + + + + + + gml:ConcatenatedOperation is an ordered sequence of two or more coordinate operations. This sequence of operations is constrained by the requirement that the source coordinate reference system of step (n+1) must be the same as the target coordinate reference system of step (n). The source coordinate reference system of the first step and the target coordinate reference system of the last step are the source and target coordinate reference system associated with the concatenated operation. Instead of a forward operation, an inverse operation may be used for one or more of the operation steps mentioned above, if the inverse operation is uniquely defined by the forward operation. +The gml:coordOperation property elements are an ordered sequence of associations to the two or more operations used by this concatenated operation. The AggregationAttributeGroup should be used to specify that the coordOperation associations are ordered. + + + + + + + + + + + + + gml:coordOperation is an association role to a coordinate operation. + + + + + gml:ConcatenatedOperationPropertyType is a property type for association roles to a concatenated operation, either referencing or containing the definition of that concatenated operation. + + + + + + + + + gml:PassThroughOperation is a pass-through operation specifies that a subset of a coordinate tuple is subject to a specific coordinate operation. +The modifiedCoordinate property elements are an ordered sequence of positive integers defining the positions in a coordinate tuple of the coordinates affected by this pass-through operation. The AggregationAttributeGroup should be used to specify that the modifiedCoordinate elements are ordered. + + + + + + + + + + + + + + + + gml:modifiedCoordinate is a positive integer defining a position in a coordinate tuple. + + + + + gml:PassThroughOperationPropertyType is a property type for association roles to a pass through operation, either referencing or containing the definition of that pass through operation. + + + + + + + + + gml:Conversion is a concrete operation on coordinates that does not include any change of Datum. The best-known example of a coordinate conversion is a map projection. The parameters describing coordinate conversions are defined rather than empirically derived. Note that some conversions have no parameters. +This concrete complex type can be used without using a GML Application Schema that defines operation-method-specialized element names and contents, especially for methods with only one Conversion instance. +The usesValue property elements are an unordered list of composition associations to the set of parameter values used by this conversion operation. + + + + + + + + + + + + + + + gml:method is an association role to the operation method used by a coordinate operation. + + + + + gml:parameterValue is a composition association to a parameter value or group of parameter values used by a coordinate operation. + + + + + gml:ConversionPropertyType is a property type for association roles to a concrete general-purpose conversion, either referencing or containing the definition of that conversion. + + + + + + + + + gml:Transformation is a concrete object element derived from gml:GeneralTransformation (13.6.2.13). +This concrete object can be used for all operation methods, without using a GML Application Schema that defines operation-method-specialized element names and contents, especially for methods with only one Transformation instance. +The parameterValue elements are an unordered list of composition associations to the set of parameter values used by this conversion operation. + + + + + + + + + + + + + + + gml:TransformationPropertyType is a property type for association roles to a transformation, either referencing or containing the definition of that transformation. + + + + + + + + + gml:AbstractGeneralParameterValue is an abstract parameter value or group of parameter values. +This abstract complexType is expected to be extended and restricted for well-known operation methods with many instances, in Application Schemas that define operation-method-specialized element names and contents. Specific parameter value elements are directly contained in concrete subtypes, not in this abstract type. All concrete types derived from this type shall extend this type to include one "...Value" element with an appropriate type, which should be one of the element types allowed in the ParameterValueType. In addition, all derived concrete types shall extend this type to include a "operationParameter" property element that references one element substitutable for the "OperationParameter" object element. + + + + + + + + gml:AbstractGeneralParameterValuePropertyType is a property type for inline association roles to a parameter value or group of parameter values, always containing the values. + + + + + + + + gml:ParameterValue is a parameter value, an ordered sequence of values, or a reference to a file of parameter values. This concrete complex type may be used for operation methods without using an Application Schema that defines operation-method-specialized element names and contents, especially for methods with only one instance. This complex type may be used, extended, or restricted for well-known operation methods, especially for methods with many instances. + + + + + + + + + + + + + + + + + + + + + + + + gml:value is a numeric value of an operation parameter, with its associated unit of measure. + + + + + gml:stringValue is a character string value of an operation parameter. A string value does not have an associated unit of measure. + + + + + gml:integerValue is a positive integer value of an operation parameter, usually used for a count. An integer value does not have an associated unit of measure. + + + + + gml:booleanValue is a boolean value of an operation parameter. A Boolean value does not have an associated unit of measure. + + + + + gml:valueList is an ordered sequence of two or more numeric values of an operation parameter list, where each value has the same associated unit of measure. An element of this type contains a space-separated sequence of double values. + + + + + gml:integerValueList is an ordered sequence of two or more integer values of an operation parameter list, usually used for counts. These integer values do not have an associated unit of measure. An element of this type contains a space-separated sequence of integer values. + + + + + gml:valueFile is a reference to a file or a part of a file containing one or more parameter values, each numeric value with its associated unit of measure. When referencing a part of a file, that file shall contain multiple identified parts, such as an XML encoded document. Furthermore, the referenced file or part of a file may reference another part of the same or different files, as allowed in XML documents. + + + + + gml:operationParameter is an association role to the operation parameter of which this is a value. + + + + + gml:ParameterValueGroup is a group of related parameter values. The same group can be repeated more than once in a Conversion, Transformation, or higher level ParameterValueGroup, if those instances contain different values of one or more parameterValues which suitably distinquish among those groups. This concrete complex type can be used for operation methods without using an Application Schema that defines operation-method-specialized element names and contents. This complex type may be used, extended, or restricted for well-known operation methods, especially for methods with only one instance. +The parameterValue elements are an unordered set of composition association roles to the parameter values and groups of values included in this group. + + + + + + + + + + + + + + + gml:group is an association role to the operation parameter group for which this element provides parameter values. + + + + + gml:OperationMethod is a method (algorithm or procedure) used to perform a coordinate operation. Most operation methods use a number of operation parameters, although some coordinate conversions use none. Each coordinate operation using the method assigns values to these parameters. +The parameter elements are an unordered list of associations to the set of operation parameters and parameter groups used by this operation method. + + + + + + + + + + + + + + + + + + + + gml:formulaCitation provides a reference to a publication giving the formula(s) or procedure used by an coordinate operation method. + + + + + + + + + + + gml:formula Formula(s) or procedure used by an operation method. The use of the codespace attribite has been deprecated. The property value shall be a character string. + + + + + gml:sourceDimensions is the number of dimensions in the source CRS of this operation method. + + + + + gml:targetDimensions is the number of dimensions in the target CRS of this operation method. + + + + + gml:parameter is an association to an operation parameter or parameter group. + + + + + gml:OperationMethodPropertyType is a property type for association roles to a concrete general-purpose operation method, either referencing or containing the definition of that method. + + + + + + + + + gml:GeneralOperationParameter is the abstract definition of a parameter or group of parameters used by an operation method. + + + + + + + + + + + + + + gml:minimumOccurs is the minimum number of times that values for this parameter group or parameter are required. If this attribute is omitted, the minimum number shall be one. + + + + + gml:AbstractGeneralOperationParameterPropertyType is a property type for association roles to an operation parameter or group, either referencing or containing the definition of that parameter or group. + + + + + + + + + gml:OperationParameter is the definition of a parameter used by an operation method. Most parameter values are numeric, but other types of parameter values are possible. This complex type is expected to be used or extended for all operation methods, without defining operation-method-specialized element names. + + + + + + + + + + + + gml:OperationParameterPropertyType is a property type for association roles to an operation parameter, either referencing or containing the definition of that parameter. + + + + + + + + + gml:OperationParameterGroup is the definition of a group of parameters used by an operation method. This complex type is expected to be used or extended for all applicable operation methods, without defining operation-method-specialized element names. +The generalOperationParameter elements are an unordered list of associations to the set of operation parameters that are members of this group. + + + + + + + + + + + + + + + gml:maximumOccurs is the maximum number of times that values for this parameter group may be included. If this attribute is omitted, the maximum number shall be one. + + + + + gml:OperationParameterPropertyType is a property type for association roles to an operation parameter group, either referencing or containing the definition of that parameter group. + + + + + + + diff --git a/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/gml/3.2.1/coordinateReferenceSystems.xsd b/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/gml/3.2.1/coordinateReferenceSystems.xsd new file mode 100644 index 00000000..761b41e3 --- /dev/null +++ b/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/gml/3.2.1/coordinateReferenceSystems.xsd @@ -0,0 +1,373 @@ + + + + coordinateReferenceSystems.xsd + See ISO/DIS 19136 13.3. +The spatial-temporal coordinate reference systems schema components are divided into two logical parts. One part defines elements and types for XML encoding of abstract coordinate reference systems definitions. The larger part defines specialized constructs for XML encoding of definitions of the multiple concrete types of spatial-temporal coordinate reference systems. +These schema components encode the Coordinate Reference System packages of the UML Models of ISO 19111 Clause 8 and ISO/DIS 19136 D.3.10, with the exception of the abstract "SC_CRS" class. + +GML is an OGC Standard. +Copyright (c) 2007, 2010, 2016, 2018 Open Geospatial Consortium. +To obtain additional rights of use, visit http://www.opengeospatial.org/legal/ . + + + + + + + + + gml:AbstractSingleCRS implements a coordinate reference system consisting of one coordinate system and one datum (as opposed to a Compound CRS). + + + + + gml:SingleCRSPropertyType is a property type for association roles to a single coordinate reference system, either referencing or containing the definition of that coordinate reference system. + + + + + + + + + gml:AbstractGeneralDerivedCRS is a coordinate reference system that is defined by its coordinate conversion from another coordinate reference system. This abstract complex type shall not be used, extended, or restricted, in a GML Application Schema, to define a concrete subtype with a meaning equivalent to a concrete subtype specified in this document. + + + + + + + + + + + + + + gml:conversion is an association role to the coordinate conversion used to define the derived CRS. + + + + + gml:CompundCRS is a coordinate reference system describing the position of points through two or more independent coordinate reference systems. It is associated with a non-repeating sequence of two or more instances of SingleCRS. + + + + + + + + + + + + + + + The gml:componentReferenceSystem elements are an ordered sequence of associations to all the component coordinate reference systems included in this compound coordinate reference system. The gml:AggregationAttributeGroup should be used to specify that the gml:componentReferenceSystem properties are ordered. + + + + + gml:CompoundCRSPropertyType is a property type for association roles to a compound coordinate reference system, either referencing or containing the definition of that reference system. + + + + + + + + + + gml:GeodeticCRS is a coordinate reference system based on a geodetic datum. + + + + + + + + + + + + + + + + + gml:ellipsoidalCS is an association role to the ellipsoidal coordinate system used by this CRS. + + + + + gml:cartesianCS is an association role to the Cartesian coordinate system used by this CRS. + + + + + gml:sphericalCS is an association role to the spherical coordinate system used by this CRS. + + + + + gml:geodeticDatum is an association role to the geodetic datum used by this CRS. + + + + + + gml:GeodeticCRSPropertyType is a property type for association roles to a geodetic coordinate reference system, either referencing or containing the definition of that reference system. + + + + + + + + + gml:VerticalCRS is a 1D coordinate reference system used for recording heights or depths. Vertical CRSs make use of the direction of gravity to define the concept of height or depth, but the relationship with gravity may not be straightforward. By implication, ellipsoidal heights (h) cannot be captured in a vertical coordinate reference system. Ellipsoidal heights cannot exist independently, but only as an inseparable part of a 3D coordinate tuple defined in a geographic 3D coordinate reference system. + + + + + + + + + + + + + + + gml:verticalCS is an association role to the vertical coordinate system used by this CRS. + + + + + gml:verticalDatum is an association role to the vertical datum used by this CRS. + + + + + gml:VerticalCRSPropertyType is a property type for association roles to a vertical coordinate reference system, either referencing or containing the definition of that reference system. + + + + + + + + + gml:ProjectedCRS is a 2D coordinate reference system used to approximate the shape of the earth on a planar surface, but in such a way that the distortion that is inherent to the approximation is carefully controlled and known. Distortion correction is commonly applied to calculated bearings and distances to produce values that are a close match to actual field values. + + + + + + + + + + + + + + + + + + gml:baseGeodeticCRS is an association role to the geodetic coordinate reference system used by this projected CRS. + + + + + gml:ProjectedCRSPropertyType is a property type for association roles to a projected coordinate reference system, either referencing or containing the definition of that reference system. + + + + + + + + + gml:DerivedCRS is a single coordinate reference system that is defined by its coordinate conversion from another single coordinate reference system known as the base CRS. The base CRS can be a projected coordinate reference system, if this DerivedCRS is used for a georectified grid coverage as described in ISO 19123, Clause 8. + + + + + + + + + + + + + + + + gml:baseCRS is an association role to the coordinate reference system used by this derived CRS. + + + + + The gml:derivedCRSType property describes the type of a derived coordinate reference system. The required codeSpace attribute shall reference a source of information specifying the values and meanings of all the allowed string values for this property. + + + + + An association role to the coordinate system used by this CRS. + + + + + gml:DerivedCRSPropertyType is a property type for association roles to a non-projected derived coordinate reference system, either referencing or containing the definition of that reference system. + + + + + + + + + gml:EngineeringCRS is a contextually local coordinate reference system which can be divided into two broad categories: +- earth-fixed systems applied to engineering activities on or near the surface of the earth; +- CRSs on moving platforms such as road vehicles, vessels, aircraft, or spacecraft, see ISO 19111 8.3. + + + + + + + + + + + + + + + + + deprecated + + + + + + + + + + + gml:cylindricalCS is an association role to the cylindrical coordinate system used by this CRS. + + + + + gml:linearCS is an association role to the linear coordinate system used by this CRS. + + + + + gml:polarCS is an association role to the polar coordinate system used by this CRS. + + + + + gml:userDefinedCS is an association role to the user defined coordinate system used by this CRS. + + + + + gml:engineeringDatum is an association role to the engineering datum used by this CRS. + + + + + gml:EngineeringCRSPropertyType is a property type for association roles to an engineering coordinate reference system, either referencing or containing the definition of that reference system. + + + + + + + + + gml:ImageCRS is an engineering coordinate reference system applied to locations in images. Image coordinate reference systems are treated as a separate sub-type because the definition of the associated image datum contains two attributes not relevant to other engineering datums. + + + + + + + + + + + + + + + + + + + gml:affineCS is an association role to the affine coordinate system used by this CRS. + + + + + gml:imageDatum is an association role to the image datum used by this CRS. + + + + + gml:ImageCRSPropertyType is a property type for association roles to an image coordinate reference system, either referencing or containing the definition of that reference system. + + + + + + + + + gml:TemporalCRS is a 1D coordinate reference system used for the recording of time. + + + + + + + + + + + + + + + + + + gml:timeCS is an association role to the time coordinate system used by this CRS. + + + + + gml:temporalDatum is an association role to the temporal datum used by this CRS. + + + + + gml:TemporalCRSPropertyType is a property type for association roles to a temporal coordinate reference system, either referencing or containing the definition of that reference system. + + + + + + + diff --git a/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/gml/3.2.1/coordinateSystems.xsd b/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/gml/3.2.1/coordinateSystems.xsd new file mode 100644 index 00000000..71765b3c --- /dev/null +++ b/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/gml/3.2.1/coordinateSystems.xsd @@ -0,0 +1,297 @@ + + + + coordinateSystems.xsd + See ISO/DIS 19136 13.4. +The coordinate systems schema components can be divded into three logical parts, which define elements and types for XML encoding of the definitions of: +- Coordinate system axes +- Abstract coordinate system +- Multiple concrete types of spatial-temporal coordinate systems +These schema components encode the Coordinate System packages of the UML Models of ISO 19111 Clause 9 and ISO/DIS 19136 D.3.10. + +GML is an OGC Standard. +Copyright (c) 2007, 2010, 2016, 2018 Open Geospatial Consortium. +To obtain additional rights of use, visit http://www.opengeospatial.org/legal/ . + + + + + + + gml:CoordinateSystemAxis is a definition of a coordinate system axis. + + + + + + + + + + + + + + + The uom attribute provides an identifier of the unit of measure used for this coordinate system axis. The value of this coordinate in a coordinate tuple shall be recorded using this unit of measure, whenever those coordinates use a coordinate reference system that uses a coordinate system that uses this axis. + + + + + + + + gml:axisAbbrev is the abbreviation used for this coordinate system axis; this abbreviation is also used to identify the coordinates in the coordinate tuple. The codeSpace attribute may reference a source of more information on a set of standardized abbreviations, or on this abbreviation. + + + + + gml:axisDirection is the direction of this coordinate system axis (or in the case of Cartesian projected coordinates, the direction of this coordinate system axis at the origin). +Within any set of coordinate system axes, only one of each pair of terms may be used. For earth-fixed CRSs, this direction is often approximate and intended to provide a human interpretable meaning to the axis. When a geodetic datum is used, the precise directions of the axes may therefore vary slightly from this approximate direction. +The codeSpace attribute shall reference a source of information specifying the values and meanings of all the allowed string values for this property. + + + + + The gml:minimumValue and gml:maximumValue properties allow the specification of minimum and maximum value normally allowed for this axis, in the unit of measure for the axis. For a continuous angular axis such as longitude, the values wrap-around at this value. Also, values beyond this minimum/maximum can be used for specified purposes, such as in a bounding box. A value of minus infinity shall be allowed for the gml:minimumValue element, a value of plus infiniy for the gml:maximumValue element. If these elements are omitted, the value is unspecified. + + + + + The gml:minimumValue and gml:maximumValue properties allow the specification of minimum and maximum value normally allowed for this axis, in the unit of measure for the axis. For a continuous angular axis such as longitude, the values wrap-around at this value. Also, values beyond this minimum/maximum can be used for specified purposes, such as in a bounding box. A value of minus infinity shall be allowed for the gml:minimumValue element, a value of plus infiniy for the gml:maximumValue element. If these elements are omitted, the value is unspecified. + + + + + gml:rangeMeaning describes the meaning of axis value range specified by gml:minimumValue and gml:maximumValue. This element shall be omitted when both gml:minimumValue and gml:maximumValue are omitted. This element should be included when gml:minimumValue and/or gml:maximumValue are included. If this element is omitted when the gml:minimumValue and/or gml:maximumValue are included, the meaning is unspecified. The codeSpace attribute shall reference a source of information specifying the values and meanings of all the allowed string values for this property. + + + + + gml:CoordinateSystemAxisPropertyType is a property type for association roles to a coordinate system axis, either referencing or containing the definition of that axis. + + + + + + + + + gml:AbstractCoordinateSystem is a coordinate system (CS) is the non-repeating sequence of coordinate system axes that spans a given coordinate space. A CS is derived from a set of mathematical rules for specifying how coordinates in a given space are to be assigned to points. The coordinate values in a coordinate tuple shall be recorded in the order in which the coordinate system axes associations are recorded. This abstract complex type shall not be used, extended, or restricted, in an Application Schema, to define a concrete subtype with a meaning equivalent to a concrete subtype specified in this document. + + + + + + + + + + + + + + + The gml:axis property is an association role (ordered sequence) to the coordinate system axes included in this coordinate system. The coordinate values in a coordinate tuple shall be recorded in the order in which the coordinate system axes associations are recorded, whenever those coordinates use a coordinate reference system that uses this coordinate system. The gml:AggregationAttributeGroup should be used to specify that the axis objects are ordered. + + + + + gml:CoordinateSystemPropertyType is a property type for association roles to a coordinate system, either referencing or containing the definition of that coordinate system. + + + + + + + + + gml:EllipsoidalCS is a two- or three-dimensional coordinate system in which position is specified by geodetic latitude, geodetic longitude, and (in the three-dimensional case) ellipsoidal height. An EllipsoidalCS shall have two or three gml:axis property elements; the number of associations shall equal the dimension of the CS. + + + + + + + + + + gml:EllipsoidalCSPropertyType is a property type for association roles to an ellipsoidal coordinate system, either referencing or containing the definition of that coordinate system. + + + + + + + + + gml:CartesianCS is a 1-, 2-, or 3-dimensional coordinate system. In the 1-dimensional case, it contains a single straight coordinate axis. In the 2- and 3-dimensional cases gives the position of points relative to orthogonal straight axes. In the multi-dimensional case, all axes shall have the same length unit of measure. A CartesianCS shall have one, two, or three gml:axis property elements. + + + + + + + + + + gml:CartesianCSPropertyType is a property type for association roles to a Cartesian coordinate system, either referencing or containing the definition of that coordinate system. + + + + + + + + + gml:VerticalCS is a one-dimensional coordinate system used to record the heights or depths of points. Such a coordinate system is usually dependent on the Earth's gravity field, perhaps loosely as when atmospheric pressure is the basis for the vertical coordinate system axis. A VerticalCS shall have one gml:axis property element. + + + + + + + + + + gml:VerticalCSPropertyType is a property type for association roles to a vertical coordinate system, either referencing or containing the definition of that coordinate system. + + + + + + + + + gml:TimeCS is a one-dimensional coordinate system containing a time axis, used to describe the temporal position of a point in the specified time units from a specified time origin. A TimeCS shall have one gml:axis property element. + + + + + + + + + + gml:TimeCSPropertyType is a property type for association roles to a time coordinate system, either referencing or containing the definition of that coordinate system. + + + + + + + + + gml:LinearCS is a one-dimensional coordinate system that consists of the points that lie on the single axis described. The associated coordinate is the distance – with or without offset – from the specified datum to the point along the axis. A LinearCS shall have one gml:axis property element. + + + + + + + + + + gml:LinearCSPropertyType is a property type for association roles to a linear coordinate system, either referencing or containing the definition of that coordinate system. + + + + + + + + + gml:UserDefinedCS is a two- or three-dimensional coordinate system that consists of any combination of coordinate axes not covered by any other coordinate system type. A UserDefinedCS shall have two or three gml:axis property elements; the number of property elements shall equal the dimension of the CS. + + + + + + + + + + gml:UserDefinedCSPropertyType is a property type for association roles to a user-defined coordinate system, either referencing or containing the definition of that coordinate system. + + + + + + + + + gml:SphericalCS is a three-dimensional coordinate system with one distance measured from the origin and two angular coordinates. A SphericalCS shall have three gml:axis property elements. + + + + + + + + + + gml:SphericalCSPropertyType is property type for association roles to a spherical coordinate system, either referencing or containing the definition of that coordinate system. + + + + + + + + + gml:PolarCS ia s two-dimensional coordinate system in which position is specified by the distance from the origin and the angle between the line from the origin to a point and a reference direction. A PolarCS shall have two gml:axis property elements. + + + + + + + + + + gml:PolarCSPropertyType is a property type for association roles to a polar coordinate system, either referencing or containing the definition of that coordinate system. + + + + + + + + + gml:CylindricalCS is a three-dimensional coordinate system consisting of a polar coordinate system extended by a straight coordinate axis perpendicular to the plane spanned by the polar coordinate system. A CylindricalCS shall have three gml:axis property elements. + + + + + + + + + + gml:CylindricalCSPropertyType is a property type for association roles to a cylindrical coordinate system, either referencing or containing the definition of that coordinate system. + + + + + + + + + gml:AffineCS is a two- or three-dimensional coordinate system with straight axes that are not necessarily orthogonal. An AffineCS shall have two or three gml:axis property elements; the number of property elements shall equal the dimension of the CS. + + + + + + + + + + gml:AffineCSPropertyType is a property type for association roles to an affine coordinate system, either referencing or containing the definition of that coordinate system. + + + + + + + diff --git a/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/gml/3.2.1/coverage.xsd b/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/gml/3.2.1/coverage.xsd new file mode 100644 index 00000000..765ba482 --- /dev/null +++ b/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/gml/3.2.1/coverage.xsd @@ -0,0 +1,292 @@ + + + + coverage.xsd + See ISO/DIS 19136 20.3. +A coverage incorporates a mapping from a spatiotemporal domain to a range set, the latter providing the set in which the attribute values live. The range set may be an arbitrary set including discrete lists, integer or floating point ranges, and multi-dimensional vector spaces. +A coverage can be viewed as the graph of the coverage function f:A à B, that is as the set of ordered pairs {(x, f(x)) | where x is in A}. This view is especially applicable to the GML encoding of a coverage. In the case of a discrete coverage, the domain set A is partitioned into a collection of subsets (typically a disjoint collection) A = UAi and the function f is constant on each Ai. For a spatial domain, the Ai are geometry elements, hence the coverage can be viewed as a collection of (geometry,value) pairs, where the value is an element of the range set. If the spatial domain A is a topological space then the coverage can be viewed as a collection of (topology,value) pairs, where the topology element in the pair is a topological n-chain (in GML terms this is a gml:TopoPoint, gml:TopoCurve, gml:TopoSurface or gml:TopoSolid). +A coverage is implemented as a GML feature. We can thus speak of a "temperature distribution feature", or a "remotely sensed image feature", or a "soil distribution feature". +As is the case for any GML object, a coverage object may also be the value of a property of a feature. + +GML is an OGC Standard. +Copyright (c) 2007, 2010, 2016, 2018 Open Geospatial Consortium. +To obtain additional rights of use, visit http://www.opengeospatial.org/legal/ . + + + + + + + + + + The base type for coverages is gml:AbstractCoverageType. The basic elements of a coverage can be seen in this content model: the coverage contains gml:domainSet and gml:rangeSet properties. The gml:domainSet property describes the domain of the coverage and the gml:rangeSet property describes the range of the coverage. + + + + + + + + + + + + + This element serves as the head of a substitution group which may contain any coverage whose type is derived from gml:AbstractCoverageType. It may act as a variable in the definition of content models where it is required to permit any coverage to be valid. + + + + + + + + + + + + + + A discrete coverage consists of a domain set, range set and optionally a coverage function. The domain set consists of either spatial or temporal geometry objects, finite in number. The range set is comprised of a finite number of attribute values each of which is associated to every direct position within any single spatiotemporal object in the domain. In other words, the range values are constant on each spatiotemporal object in the domain. This coverage function maps each element from the coverage domain to an element in its range. The coverageFunction element describes the mapping function. +This element serves as the head of a substitution group which may contain any discrete coverage whose type is derived from gml:DiscreteCoverageType. + + + + + + + + + + + + + + A continuous coverage as defined in ISO 19123 is a coverage that can return different values for the same feature attribute at different direct positions within a single spatiotemporal object in its spatiotemporal domain. The base type for continuous coverages is AbstractContinuousCoverageType. +The coverageFunction element describes the mapping function. +The abstract element gml:AbstractContinuousCoverage serves as the head of a substitution group which may contain any continuous coverage whose type is derived from gml:AbstractContinuousCoverageType. + + + + + The gml:domainSet property element describes the spatio-temporal region of interest, within which the coverage is defined. Its content model is given by gml:DomainSetType. +The value of the domain is thus a choice between a gml:AbstractGeometry and a gml:AbstractTimeObject. In the instance these abstract elements will normally be substituted by a geometry complex or temporal complex, to represent spatial coverages and time-series, respectively. +The presence of the gml:AssociationAttributeGroup means that domainSet follows the usual GML property model and may use the xlink:href attribute to point to the domain, as an alternative to describing the domain inline. Ownership semantics may be provided using the gml:OwnershipAttributeGroup. + + + + + + + + + + + + + + + + The gml:rangeSet property element contains the values of the coverage (sometimes called the attribute values). Its content model is given by gml:RangeSetType. +This content model supports a structural description of the range. The semantic information describing the range set is embedded using a uniform method, as part of the explicit values, or as a template value accompanying the representation using gml:DataBlock and gml:File. +The values from each component (or "band") in the range may be encoded within a gml:ValueArray element or a concrete member of the gml:AbstractScalarValueList substitution group . Use of these elements satisfies the value-type homogeneity requirement. + + + + + + + + + + + + + gml:DataBlock describes the Range as a block of text encoded values similar to a Common Separated Value (CSV) representation. +The range set parameterization is described by the property gml:rangeParameters. + + + + + + + + + + + + + + + gml:CoordinatesType consists of a list of coordinate tuples, with each coordinate tuple separated by the ts or tuple separator (whitespace), and each coordinate in the tuple by the cs or coordinate separator (comma). +The gml:tupleList encoding is effectively "band-interleaved". + + + + + gml:doubleOrNilReasonList consists of a list of gml:doubleOrNilReason values, each separated by a whitespace. The gml:doubleOrNilReason values are grouped into tuples where the dimension of each tuple in the list is equal to the number of range parameters. + + + + + for efficiency reasons, GML also provides a means of encoding the range set in an arbitrary external encoding, such as a binary file. This encoding may be "well-known" but this is not required. This mode uses the gml:File element. +The values of the coverage (attribute values in the range set) are transmitted in a external file that is referenced from the XML structure described by gml:FileType. The external file is referenced by the gml:fileReference property that is an anyURI (the gml:fileName property has been deprecated). This means that the external file may be located remotely from the referencing GML instance. +The gml:compression property points to a definition of a compression algorithm through an anyURI. This may be a retrievable, computable definition or simply a reference to an unambiguous name for the compression method. +The gml:mimeType property points to a definition of the file mime type. +The gml:fileStructure property is defined by a codelist. Note further that all values shall be enclosed in a single file. Multi-file structures for values are not supported in GML. +The semantics of the range set is described as above using the gml:rangeParameters property. +Note that if any compression algorithm is applied, the structure above applies only to the pre-compression or post-decompression structure of the file. +Note that the fields within a record match the gml:valueComponents of the gml:CompositeValue in document order. + + + + + + + + + deprecated + + + + + + + + + + + + The gml:coverageFunction property describes the mapping function from the domain to the range of the coverage. +The value of the CoverageFunction is one of gml:CoverageMappingRule and gml:GridFunction. +If the gml:coverageFunction property is omitted for a gridded coverage (including rectified gridded coverages) the gml:startPoint is assumed to be the value of the gml:low property in the gml:Grid geometry, and the gml:sequenceRule is assumed to be linear and the gml:axisOrder property is assumed to be "+1 +2". + + + + + + + + + + + + gml:CoverageMappingRule provides a formal or informal description of the coverage function. +The mapping rule may be defined as an in-line string (gml:ruleDefinition) or via a remote reference through xlink:href (gml:ruleReference). +If no rule name is specified, the default is 'Linear' with respect to members of the domain in document order. + + + + + + + + + + + gml:GridFunction provides an explicit mapping rule for grid geometries, i.e. the domain shall be a geometry of type grid. It describes the mapping of grid posts (discrete point grid coverage) or grid cells (discrete surface coverage) to the values in the range set. +The gml:startPoint is the index position of a point in the grid that is mapped to the first point in the range set (this is also the index position of the first grid post). If the gml:startPoint property is omitted the gml:startPoint is assumed to be equal to the value of gml:low in the gml:Grid geometry. Subsequent points in the mapping are determined by the value of the gml:sequenceRule. + + + + + + + + + + + The gml:SequenceRuleType is derived from the gml:SequenceRuleEnumeration through the addition of an axisOrder attribute. The gml:SequenceRuleEnumeration is an enumerated type. The rule names are defined in ISO 19123. If no rule name is specified the default is "Linear". + + + + + + deprecated + + + + + + + + + + + + + + + + + + + The different values in a gml:AxisDirectionList indicate the incrementation order to be used on all axes of the grid. Each axis shall be mentioned once and only once. + + + + + + The value of a gml:AxisDirection indicates the incrementation order to be used on an axis of the grid. + + + + + + + + In a gml:MultiPointCoverage the domain set is a gml:MultiPoint, that is a collection of arbitrarily distributed geometric points. +The content model is identical with gml:DiscreteCoverageType, but that gml:domainSet shall have values gml:MultiPoint. +In a gml:MultiPointCoverage the mapping from the domain to the range is straightforward. +- For gml:DataBlock encodings the points of the gml:MultiPoint are mapped in document order to the tuples of the data block. +- For gml:CompositeValue encodings the points of the gml:MultiPoint are mapped to the members of the composite value in document order. +- For gml:File encodings the points of the gml:MultiPoint are mapped to the records of the file in sequential order. + + + + + + In a gml:MultiCurveCoverage the domain is partioned into a collection of curves comprising a gml:MultiCurve. The coverage function then maps each curve in the collection to a value in the range set. +The content model is identical with gml:DiscreteCoverageType, but that gml:domainSet shall have values gml:MultiCurve. +In a gml:MultiCurveCoverage the mapping from the domain to the range is straightforward. +- For gml:DataBlock encodings the curves of the gml:MultiCurve are mapped in document order to the tuples of the data block. +- For gml:CompositeValue encodings the curves of the gml:MultiCurve are mapped to the members of the composite value in document order. +- For gml:File encodings the curves of the gml:MultiCurve are mapped to the records of the file in sequential order. + + + + + + In a gml:MultiSurfaceCoverage the domain is partioned into a collection of surfaces comprising a gml:MultiSurface. The coverage function than maps each surface in the collection to a value in the range set. +The content model is identical with gml:DiscreteCoverageType, but that gml:domainSet shall have values gml:MultiSurface. +In a gml:MultiSurfaceCoverage the mapping from the domain to the range is straightforward. +- For gml:DataBlock encodings the surfaces of the gml:MultiSurface are mapped in document order to the tuples of the data block. +- For gml:CompositeValue encodings the surfaces of the gml:MultiSurface are mapped to the members of the composite value in document order. +- For gml:File encodings the surfaces of the gml:MultiSurface are mapped to the records of the file in sequential order. + + + + + + In a gml:MultiSolidCoverage the domain is partioned into a collection of solids comprising a gml:MultiSolid. The coverage function than maps each solid in the collection to a value in the range set. +The content model is identical with gml:DiscreteCoverageType, but that gml:domainSet shall have values gml:MultiSolid. +In a gml:MultiSolidCoverage the mapping from the domain to the range is straightforward. +- For gml:DataBlock encodings the solids of the gml:MultiSolid are mapped in document order to the tuples of the data block. +- For gml:CompositeValue encodings the solids of the gml:MultiSolid are mapped to the members of the composite value in document order. +- For gml:File encodings the solids of the gml:MultiSolid are mapped to the records of the file in sequential order. + + + + + + A gml:GriddedCoverage is a discrete point coverage in which the domain set is a geometric grid of points. +Note that this is the same as the gml:MultiPointCoverage except that we have a gml:Grid to describe the domain. +The simple gridded coverage is not geometrically referenced and hence no geometric positions are assignable to the points in the grid. Such geometric positioning is introduced in the gml:RectifiedGridCoverage. + + + + + The gml:RectifiedGridCoverage is a discrete point coverage based on a rectified grid. It is similar to the grid coverage except that the points of the grid are geometrically referenced. The rectified grid coverage has a domain that is a gml:RectifiedGrid geometry. + + + diff --git a/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/gml/3.2.1/datums.xsd b/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/gml/3.2.1/datums.xsd new file mode 100644 index 00000000..26dcc1ef --- /dev/null +++ b/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/gml/3.2.1/datums.xsd @@ -0,0 +1,287 @@ + + + + + datums.xsd + See ISO/DIS 19136 13.5 +The datums schema components can be divided into three logical parts, which define elements and types for XML encoding of the definitions of: +- Abstract datum +- Geodetic datums, including ellipsoid and prime meridian +- Multiple other concrete types of spatial or temporal datums +These schema components encode the Datum packages of the UML Models of ISO 19111 Clause 10 and ISO/DIS 19136 D.3.10. + +GML is an OGC Standard. +Copyright (c) 2007, 2010, 2016, 2018 Open Geospatial Consortium. +To obtain additional rights of use, visit http://www.opengeospatial.org/legal/ . + + + + + + + + A gml:AbstractDatum specifies the relationship of a coordinate system to the earth, thus creating a coordinate reference system. A datum uses a parameter or set of parameters that determine the location of the origin of the coordinate reference system. Each datum subtype may be associated with only specific types of coordinate systems. This abstract complex type shall not be used, extended, or restricted, in a GML Application Schema, to define a concrete subtype with a meaning equivalent to a concrete subtype specified in this document. + + + + + + + + + + + + + + + + + gml:anchorDefinition is a description, possibly including coordinates, of the definition used to anchor the datum to the Earth. Also known as the "origin", especially for engineering and image datums. The codeSpace attribute may be used to reference a source of more detailed on this point or surface, or on a set of such descriptions. +- For a geodetic datum, this point is also known as the fundamental point, which is traditionally the point where the relationship between geoid and ellipsoid is defined. In some cases, the "fundamental point" may consist of a number of points. In those cases, the parameters defining the geoid/ellipsoid relationship have been averaged for these points, and the averages adopted as the datum definition. +- For an engineering datum, the anchor definition may be a physical point, or it may be a point with defined coordinates in another CRS.may +- For an image datum, the anchor definition is usually either the centre of the image or the corner of the image. +- For a temporal datum, this attribute is not defined. Instead of the anchor definition, a temporal datum carries a separate time origin of type DateTime. + + + + + gml:realizationEpoch is the time after which this datum definition is valid. See ISO 19111 Table 32 for details. + + + + + gml:DatumPropertyType is a property type for association roles to a datum, either referencing or containing the definition of that datum. + + + + + + + + + gml:GeodeticDatum is a geodetic datum defines the precise location and orientation in 3-dimensional space of a defined ellipsoid (or sphere), or of a Cartesian coordinate system centered in this ellipsoid (or sphere). + + + + + + + + + + + + + + + gml:primeMeridian is an association role to the prime meridian used by this geodetic datum. + + + + + gml:ellipsoid is an association role to the ellipsoid used by this geodetic datum. + + + + + gml:GeodeticDatumPropertyType is a property type for association roles to a geodetic datum, either referencing or containing the definition of that datum. + + + + + + + + + A gml:Ellipsoid is a geometric figure that may be used to describe the approximate shape of the earth. In mathematical terms, it is a surface formed by the rotation of an ellipse about its minor axis. + + + + + + + + + + + + + + + gml:semiMajorAxis specifies the length of the semi-major axis of the ellipsoid, with its units. Uses the MeasureType with the restriction that the unit of measure referenced by uom must be suitable for a length, such as metres or feet. + + + + + gml:secondDefiningParameter is a property containing the definition of the second parameter that defines the shape of an ellipsoid. An ellipsoid requires two defining parameters: semi-major axis and inverse flattening or semi-major axis and semi-minor axis. When the reference body is a sphere rather than an ellipsoid, only a single defining parameter is required, namely the radius of the sphere; in that case, the semi-major axis "degenerates" into the radius of the sphere. +The inverseFlattening element contains the inverse flattening value of the ellipsoid. This value is a scale factor (or ratio). It uses gml:LengthType with the restriction that the unit of measure referenced by the uom attribute must be suitable for a scale factor, such as percent, permil, or parts-per-million. +The semiMinorAxis element contains the length of the semi-minor axis of the ellipsoid. When the isSphere element is included, the ellipsoid is degenerate and is actually a sphere. The sphere is completely defined by the semi-major axis, which is the radius of the sphere. + + + + + + + + + + + + + + + + + + + gml:EllipsoidPropertyType is a property type for association roles to an ellipsoid, either referencing or containing the definition of that ellipsoid. + + + + + + + + + A gml:PrimeMeridian defines the origin from which longitude values are determined. The default value for the prime meridian gml:identifier value is "Greenwich". + + + + + + + + + + + + + + gml:greenwichLongitude is the longitude of the prime meridian measured from the Greenwich meridian, positive eastward. If the value of the prime meridian "name" is "Greenwich" then the value of greenwichLongitude shall be 0 degrees. + + + + + gml:PrimeMeridianPropertyType is a property type for association roles to a prime meridian, either referencing or containing the definition of that meridian. + + + + + + + + + gml:EngineeringDatum defines the origin of an engineering coordinate reference system, and is used in a region around that origin. This origin may be fixed with respect to the earth (such as a defined point at a construction site), or be a defined point on a moving vehicle (such as on a ship or satellite). + + + + + + + + + + gml:EngineeringDatumPropertyType is a property type for association roles to an engineering datum, either referencing or containing the definition of that datum. + + + + + + + + + gml:ImageDatum defines the origin of an image coordinate reference system, and is used in a local context only. For an image datum, the anchor definition is usually either the centre of the image or the corner of the image. For more information, see ISO 19111 B.3.5. + + + + + + + + + + + + + + gml:pixelInCell is a specification of the way an image grid is associated with the image data attributes. The required codeSpace attribute shall reference a source of information specifying the values and meanings of all the allowed string values for this property. + + + + + gml:ImageDatumPropertyType is a property type for association roles to an image datum, either referencing or containing the definition of that datum. + + + + + + + + + gml:VerticalDatum is a textual description and/or a set of parameters identifying a particular reference level surface used as a zero-height surface, including its position with respect to the Earth for any of the height types recognized by this International Standard. + + + + + + + + + + gml:VerticalDatumPropertyType is property type for association roles to a vertical datum, either referencing or containing the definition of that datum. + + + + + + + + + A gml:TemporalDatum defines the origin of a Temporal Reference System. This type omits the "anchorDefinition" and "realizationEpoch" elements and adds the "origin" element with the dateTime type. + + + + + + + + + + + + + + The TemporalDatumBaseType partially defines the origin of a temporal coordinate reference system. This type restricts the AbstractDatumType to remove the "anchorDefinition" and "realizationEpoch" elements. + + + + + + + + + + + + + + + + + + + + gml:origin is the date and time origin of this temporal datum. + + + + + gml:TemporalDatumPropertyType is a property type for association roles to a temporal datum, either referencing or containing the definition of that datum. + + + + + + + diff --git a/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/gml/3.2.1/defaultStyle.xsd b/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/gml/3.2.1/defaultStyle.xsd new file mode 100644 index 00000000..ef17a25c --- /dev/null +++ b/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/gml/3.2.1/defaultStyle.xsd @@ -0,0 +1,453 @@ + + + + defaultStyle.xsd + + GML is an OGC Standard. + Copyright (c) 2007, 2010, 2016, 2018 Open Geospatial Consortium. + To obtain additional rights of use, visit http://www.opengeospatial.org/legal/ . + + + + + + + + + + Top-level property. Used in application schemas to "attach" the styling information to GML data. The link between the data and the style should be established through this property only. + + + + + + [complexType of] Top-level property. Used in application schemas to "attach" the styling information to GML data. The link between the data and the style should be established through this property only. + + + + + + + + + + + The value of the top-level property. It is an abstract element. Used as the head element of the substitution group for extensibility purposes. + + + + + + [complexType of] The value of the top-level property. It is an abstract element. Used as the head element of the substitution group for extensibility purposes. + + + + + + + + + Predefined concrete value of the top-level property. Encapsulates all other styling information. + + + + + + [complexType of] Predefined concrete value of the top-level property. Encapsulates all other styling information. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + The style descriptor for features. + + + + + + [complexType of] The style descriptor for features. + + + + + + + + + + + + + + + + + + + Used to specify the grammar of the feature query mechanism. + + + + + + + + + + + Base complex type for geometry, topology, label and graph styles. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + The style descriptor for geometries of a feature. + + + + + + [complexType of] The style descriptor for geometries of a feature. + + + + + + + + + deprecated + Deprecated in GML version 3.1.0. Use symbol with inline content instead. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + The style descriptor for topologies of a feature. Describes individual topology elements styles. + + + + + + [complexType of] The style descriptor for topologies of a feature. Describes individual topology elements styles. + + + + + + + + + deprecated + Deprecated in GML version 3.1.0. Use symbol with inline content instead. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + The style descriptor for labels of a feature, geometry or topology. + + + + + + [complexType of] The style descriptor for labels of a feature, geometry or topology. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + The style descriptor for a graph consisting of a number of features. Describes graph-specific style attributes. + + + + + + [complexType of] The style descriptor for a graph consisting of a number of features. Describes graph-specific style attributes. + + + + + + + + + + + + + + + + + + + + + The symbol property. Extends the gml:AssociationType to allow for remote referencing of symbols. + + + + + + [complexType of] The symbol property. Allows for remote referencing of symbols. + + + + + + + + + + + + + Used to specify the type of the symbol used. + + + + + + + + + + + Label is mixed -- composed of text and XPath expressions used to extract the useful information from the feature. + + + + + + + + + + Defines the geometric transformation of entities. There is no particular grammar defined for this value. + + + + + + Used to vary individual graphic parameters and attributes of the style, symbol or text. + + + + + + + + + + + + Graph-specific styling property. + + + + + + + + + + Graph-specific styling property. + + + + + + + + + + Graph-specific styling property. + + + + + + + + + + Graph-specific styling property. + + + + + + + + + + + + + + + + + diff --git a/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/gml/3.2.1/deprecatedTypes.xsd b/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/gml/3.2.1/deprecatedTypes.xsd new file mode 100644 index 00000000..ea8c4a83 --- /dev/null +++ b/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/gml/3.2.1/deprecatedTypes.xsd @@ -0,0 +1,1133 @@ + + + + deprecatedTypes.xsd + All global schema components that are part of the GML schema, but were deprecated. See Annex I. + + GML is an OGC Standard. + Copyright (c) 2007, 2010, 2016, 2018 Open Geospatial Consortium. + To obtain additional rights of use, visit http://www.opengeospatial.org/legal/ . + + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + + + + deprecated + + + + + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + + + + deprecated + + + + + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + + + + + + + + + deprecated + + + + + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + + + + + + + + + + + + deprecated + + + + + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + + + + + + + deprecated + + + + + deprecated + + + + + + + + + + + + + + + deprecated + + + + + deprecated + + + + + + + + + + + + + + + + + + + + + deprecated + + + + + + + + deprecated + + + + + deprecated + + + + + + + + + deprecated + + + + + deprecated + + + + + + + + deprecated + + + + + deprecated + + + + + + + + + deprecated + + + + + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + + + + + deprecated + + + + + deprecated + + + + + + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + + + + + + + + + deprecated + + + + + deprecated + + + + + + + + + + + + deprecated + + + + + + + + + + deprecated + + + + + deprecated + + + + + + + deprecated + + + + + deprecated + + + + + + + + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + + + + + + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + + + + deprecated + + + + + deprecated + + + + + + + + + + + + + + deprecated + + + + + + + + + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + + + + deprecated + + + + + deprecated + + + + + + + + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + + + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + + + + + + + + + + + + + + + + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + diff --git a/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/gml/3.2.1/dictionary.xsd b/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/gml/3.2.1/dictionary.xsd new file mode 100644 index 00000000..268cf0fd --- /dev/null +++ b/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/gml/3.2.1/dictionary.xsd @@ -0,0 +1,90 @@ + + + + dictionary.xsd + See ISO/DIS 19136 Clause 16. +Many applications require definitions of terms which are used within instance documents as the values of certain properties or as reference information to tie properties to standard information values in some way. Units of measure and descriptions of measurable phenomena are two particular examples. +It will often be convenient to use definitions provided by external authorities. These may already be packaged for delivery in various ways, both online and offline. In order that they may be referred to from GML documents it is generally necessary that a URI be available for each definition. Where this is the case then it is usually preferable to refer to these directly. +Alternatively, it may be convenient or necessary to capture definitions in XML, either embedded within an instance document containing features or as a separate document. The definitions may be transcriptions from an external source, or may be new definitions for a local purpose. In order to support this case, some simple components are provided in GML in the form of +- a generic gml:Definition, which may serve as the basis for more specialized definitions +- a generic gml:Dictionary, which allows a set of definitions or references to definitions to be collected +These components may be used directly, but also serve as the basis for more specialised definition elements in GML, in particular: coordinate operations, coordinate reference systems, datums, temporal reference systems, and units of measure. +Note that the GML definition and dictionary components implement a simple nested hierarchy of definitions with identifiers. The latter provide handles which may be used in the description of more complex relationships between terms. However, the GML dictionary components are not intended to provide direct support for complex taxonomies, ontologies or thesauri. Specialised XML tools are available to satisfy the more sophisticated requirements. + +GML is an OGC Standard. +Copyright (c) 2007, 2010, 2016, 2018 Open Geospatial Consortium. +To obtain additional rights of use, visit http://www.opengeospatial.org/legal/ . + + + + + + + The basic gml:Definition element specifies a definition, which can be included in or referenced by a dictionary. +The content model for a generic definition is a derivation from gml:AbstractGMLType. +The gml:description property element shall hold the definition if this can be captured in a simple text string, or the gml:descriptionReference property element may carry a link to a description elsewhere. +The gml:identifier element shall provide one identifier identifying this definition. The identifier shall be unique within the dictionaries using this definition. +The gml:name elements shall provide zero or more terms and synonyms for which this is the definition. +The gml:remarks element shall be used to hold additional textual information that is not conceptually part of the definition but is useful in understanding the definition. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Sets of definitions may be collected into dictionaries or collections. +A gml:Dictionary is a non-abstract collection of definitions. +The gml:Dictionary content model adds a list of gml:dictionaryEntry properties that contain or reference gml:Definition objects. A database handle (gml:id attribute) is required, in order that this collection may be referred to. The standard gml:identifier, gml:description, gml:descriptionReference and gml:name properties are available to reference or contain more information about this dictionary. The gml:description and gml:descriptionReference property elements may be used for a description of this dictionary. The derived gml:name element may be used for the name(s) of this dictionary. for remote definiton references gml:dictionaryEntry shall be used. If a Definition object contained within a Dictionary uses the descriptionReference property to refer to a remote definition, then this enables the inclusion of a remote definition in a local dictionary, giving a handle and identifier in the context of the local dictionary. + + + + + + + + + + + + + + + + This property element contains or refers to the definitions which are members of a dictionary. +The content model follows the standard GML property pattern, so a gml:dictionaryEntry may either contain or refer to a single gml:Definition. Since gml:Dictionary is substitutable for gml:Definition, the content of an entry may itself be a lower level dictionary. +Note that if the value is provided by reference, this definition does not carry a handle (gml:id) in this context, so does not allow external references to this specific definition in this context. When used in this way the referenced definition will usually be in a dictionary in the same XML document. + + + + + + + + + + + + + diff --git a/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/gml/3.2.1/direction.xsd b/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/gml/3.2.1/direction.xsd new file mode 100644 index 00000000..896e2c18 --- /dev/null +++ b/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/gml/3.2.1/direction.xsd @@ -0,0 +1,84 @@ + + + + direction.xsd + See ISO/DIS 19136 Clause 18. +The direction schema components provide the GML Application Schema developer with a standard property element to describe direction, and associated objects that may be used to express orientation, direction, heading, bearing or other directional aspects of geographic features. + +GML is an OGC Standard. +Copyright (c) 2007, 2010, 2016, 2018 Open Geospatial Consortium. +To obtain additional rights of use, visit http://www.opengeospatial.org/legal/ . + + + + + + + The property gml:direction is intended as a pre-defined property expressing a direction to be assigned to features defined in a GML application schema. + + + + + + + + + + + + + + + + Direction vectors are specified by providing components of a vector. + + + + + + deprecated + + + + + + + + + direction descriptions are specified by a compass point code, a keyword, a textual description or a reference to a description. +A gml:compassPoint is specified by a simple enumeration. +In addition, thre elements to contain text-based descriptions of direction are provided. +If the direction is specified using a term from a list, gml:keyword should be used, and the list indicated using the value of the codeSpace attribute. +if the direction is decribed in prose, gml:direction or gml:reference should be used, allowing the value to be included inline or by reference. + + + + + + + + + + + These directions are necessarily approximate, giving direction with a precision of 22.5°. It is thus generally unnecessary to specify the reference frame, though this may be detailed in the definition of a GML application language. + + + + + + + + + + + + + + + + + + + + + diff --git a/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/gml/3.2.1/dynamicFeature.xsd b/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/gml/3.2.1/dynamicFeature.xsd new file mode 100644 index 00000000..7e3956fe --- /dev/null +++ b/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/gml/3.2.1/dynamicFeature.xsd @@ -0,0 +1,109 @@ + + + + dynamicFeature.xsd + See ISO/DIS 19136 15.6. +A number of types and relationships are defined to represent the time-varying properties of geographic features. +In a comprehensive treatment of spatiotemporal modeling, Langran (see Bibliography) distinguished three principal temporal entities: states, events, and evidence; the schema specified in the following Subclauses incorporates elements for each. + +GML is an OGC Standard. +Copyright (c) 2007, 2010, 2016, 2018 Open Geospatial Consortium. +To obtain additional rights of use, visit http://www.opengeospatial.org/legal/ . + + + + + + + + Evidence is represented by a simple gml:dataSource or gml:dataSourceReference property that indicates the source of the temporal data. The remote link attributes of the gml:dataSource element have been deprecated along with its current type. + + + + + Evidence is represented by a simple gml:dataSource or gml:dataSourceReference property that indicates the source of the temporal data. + + + + + A convenience group. This allows an application schema developer to include dynamic properties in a content model in a standard fashion. + + + + + + + + + + + States are captured by time-stamped instances of a feature. The content model extends the standard gml:AbstractFeatureType with the gml:dynamicProperties model group. +Each time-stamped instance represents a 'snapshot' of a feature. The dynamic feature classes will normally be extended to suit particular applications. A dynamic feature bears either a time stamp or a history. + + + + + + + + + + + + A gml:DynamicFeatureCollection is a feature collection that has a gml:validTime property (i.e. is a snapshot of the feature collection) or which has a gml:history property that contains one or more gml:AbstractTimeSlices each of which contain values of the time varying properties of the feature collection. Note that the gml:DynamicFeatureCollection may be one of the following: +1. A feature collection which consists of static feature members (members do not change in time) but which has properties of the collection object as a whole that do change in time . +2. A feature collection which consists of dynamic feature members (the members are gml:DynamicFeatures) but which also has properties of the collection as a whole that vary in time. + + + + + + + + + + + + + + + + + + + + + + + + + To describe an event — an action that occurs at an instant or over an interval of time — GML provides the gml:AbtractTimeSlice element. A timeslice encapsulates the time-varying properties of a dynamic feature -- it shall be extended to represent a time stamped projection of a specific feature. The gml:dataSource property describes how the temporal data was acquired. +A gml:AbstractTimeSlice instance is a GML object that encapsulates updates of the dynamic—or volatile—properties that reflect some change event; it thus includes only those feature properties that have actually changed due to some process. +gml:AbstractTimeSlice basically provides a facility for attribute-level time stamping, in contrast to the object-level time stamping of dynamic feature instances. +The time slice can thus be viewed as event or process-oriented, whereas a snapshot is more state or structure-oriented. A timeslice has richer causality, whereas a snapshot merely portrays the status of the whole. + + + + + + + + + + + + + + + + A generic sequence of events constitute a gml:history of an object. +The gml:history element contains a set of elements in the substitution group headed by the abstract element gml:AbstractTimeSlice, representing the time-varying properties of interest. The history property of a dynamic feature associates a feature instance with a sequence of time slices (i.e. change events) that encapsulate the evolution of the feature. + + + + + + + + + diff --git a/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/gml/3.2.1/feature.xsd b/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/gml/3.2.1/feature.xsd new file mode 100644 index 00000000..2d445962 --- /dev/null +++ b/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/gml/3.2.1/feature.xsd @@ -0,0 +1,94 @@ + + + + feature.xsd + See ISO/DIS 19136 Clause 9. +A GML feature is a (representation of a) identifiable real-world object in a selected domain of discourse. The feature schema provides a framework for the creation of GML features and feature collections. + +GML is an OGC Standard. +Copyright (c) 2007, 2010, 2016, 2018 Open Geospatial Consortium. +To obtain additional rights of use, visit http://www.opengeospatial.org/legal/ . + + + + + + + + The basic feature model is given by the gml:AbstractFeatureType. +The content model for gml:AbstractFeatureType adds two specific properties suitable for geographic features to the content model defined in gml:AbstractGMLType. +The value of the gml:boundedBy property describes an envelope that encloses the entire feature instance, and is primarily useful for supporting rapid searching for features that occur in a particular location. +The value of the gml:location property describes the extent, position or relative location of the feature. + + + + + + + + + + + + + This abstract element serves as the head of a substitution group which may contain any elements whose content model is derived from gml:AbstractFeatureType. This may be used as a variable in the construction of content models. +gml:AbstractFeature may be thought of as "anything that is a GML feature" and may be used to define variables or templates in which the value of a GML property is "any feature". This occurs in particular in a GML feature collection where the feature member properties contain one or multiple copies of gml:AbstractFeature respectively. + + + + + + + + + + + + This property describes the minimum bounding box or rectangle that encloses the entire feature. + + + + + + + + + + + + + + gml:EnvelopeWithTimePeriod is provided for envelopes that include a temporal extent. It adds two time position properties, gml:beginPosition and gml:endPosition, which describe the extent of a time-envelope. +Since gml:EnvelopeWithTimePeriod is assigned to the substitution group headed by gml:Envelope, it may be used whenever gml:Envelope is valid. + + + + + + + + + + + + + + + + The gml:locationName property element is a convenience property where the text value describes the location of the feature. If the location names are selected from a controlled list, then the list shall be identified in the codeSpace attribute. + + + + + The gml:locationReference property element is a convenience property where the text value referenced by the xlink:href attribute describes the location of the feature. + + + + + To create a collection of GML features, a property type shall be derived by extension from gml:AbstractFeatureMemberType. +By default, this abstract property type does not imply any ownership of the features in the collection. The owns attribute of gml:OwnershipAttributeGroup may be used on a property element instance to assert ownership of a feature in the collection. A collection shall not own a feature already owned by another object. + + + + + diff --git a/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/gml/3.2.1/geometryAggregates.xsd b/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/gml/3.2.1/geometryAggregates.xsd new file mode 100644 index 00000000..16524d24 --- /dev/null +++ b/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/gml/3.2.1/geometryAggregates.xsd @@ -0,0 +1,197 @@ + + + + geometryAggregates.xsd + See ISO/DIS 19136 12.3. +Geometric aggregates (i.e. instances of a subtype of gml:AbstractGeometricAggregateType) are arbitrary aggregations of geometry elements. They are not assumed to have any additional internal structure and are used to "collect" pieces of geometry of a specified type. Application schemas may use aggregates for features that use multiple geometric objects in their representations. + +GML is an OGC Standard. +Copyright (c) 2007, 2010, 2016, 2018 Open Geospatial Consortium. +To obtain additional rights of use, visit http://www.opengeospatial.org/legal/ . + + + + + + + + + + + + + + gml:AbstractGeometricAggregate is the abstract head of the substitution group for all geometric aggregates. + + + + + + + + + + + + + + + gml:MultiGeometry is a collection of one or more GML geometry objects of arbitrary type. +The members of the geometric aggregate may be specified either using the "standard" property (gml:geometryMember) or the array property (gml:geometryMembers). It is also valid to use both the "standard" and the array properties in the same collection. + + + + + This property element either references a geometry element via the XLink-attributes or contains the geometry element. + + + + + This property element contains a list of geometry elements. The order of the elements is significant and shall be preserved when processing the array. + + + + + A property that has a geometric aggregate as its value domain may either be an appropriate geometry element encapsulated in an element of this type or an XLink reference to a remote geometry element (where remote includes geometry elements located elsewhere in the same document). Either the reference or the contained element shall be given, but neither both nor none. + + + + + + + + + + + + + + + + + + + + A gml:MultiPoint consists of one or more gml:Points. +The members of the geometric aggregate may be specified either using the "standard" property (gml:pointMember) or the array property (gml:pointMembers). It is also valid to use both the "standard" and the array properties in the same collection. + + + + + This property element either references a Point via the XLink-attributes or contains the Point element. + + + + + This property element contains a list of points. The order of the elements is significant and shall be preserved when processing the array. + + + + + A property that has a collection of points as its value domain may either be an appropriate geometry element encapsulated in an element of this type or an XLink reference to a remote geometry element (where remote includes geometry elements located elsewhere in the same document). Either the reference or the contained element shall be given, but neither both nor none. + + + + + + + + + + + + + + + + + + + + A gml:MultiCurve is defined by one or more gml:AbstractCurves. +The members of the geometric aggregate may be specified either using the "standard" property (gml:curveMember) or the array property (gml:curveMembers). It is also valid to use both the "standard" and the array properties in the same collection. + + + + + This property element contains a list of curves. The order of the elements is significant and shall be preserved when processing the array. + + + + + A property that has a collection of curves as its value domain may either be an appropriate geometry element encapsulated in an element of this type or an XLink reference to a remote geometry element (where remote includes geometry elements located elsewhere in the same document). Either the reference or the contained element shall be given, but neither both nor none. + + + + + + + + + + + + + + + + + + + + A gml:MultiSurface is defined by one or more gml:AbstractSurfaces. +The members of the geometric aggregate may be specified either using the "standard" property (gml:surfaceMember) or the array property (gml:surfaceMembers). It is also valid to use both the "standard" and the array properties in the same collection. + + + + + This property element contains a list of surfaces. The order of the elements is significant and shall be preserved when processing the array. + + + + + A property that has a collection of surfaces as its value domain may either be an appropriate geometry element encapsulated in an element of this type or an XLink reference to a remote geometry element (where remote includes geometry elements located elsewhere in the same document). Either the reference or the contained element shall be given, but neither both nor none. + + + + + + + + + + + + + + + + + + + + A gml:MultiSolid is defined by one or more gml:AbstractSolids. +The members of the geometric aggregate may be specified either using the "standard" property (gml:solidMember) or the array property (gml:solidMembers). It is also valid to use both the "standard" and the array properties in the same collection. + + + + + This property element either references a solid via the XLink-attributes or contains the solid element. A solid element is any element, which is substitutable for gml:AbstractSolid. + + + + + This property element contains a list of solids. The order of the elements is significant and shall be preserved when processing the array. + + + + + A property that has a collection of solids as its value domain may either be an appropriate geometry element encapsulated in an element of this type or an XLink reference to a remote geometry element (where remote includes geometry elements located elsewhere in the same document). Either the reference or the contained element shall be given, but neither both nor none. + + + + + + + + diff --git a/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/gml/3.2.1/geometryBasic0d1d.xsd b/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/gml/3.2.1/geometryBasic0d1d.xsd new file mode 100644 index 00000000..8a7b7264 --- /dev/null +++ b/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/gml/3.2.1/geometryBasic0d1d.xsd @@ -0,0 +1,277 @@ + + + + geometryBasic0d1d.xsd + See ISO/DIS 19136 Clause 10. +Any geometry element that inherits the semantics of AbstractGeometryType may be viewed as a set of direct positions. +All of the classes derived from AbstractGeometryType inherit an optional association to a coordinate reference system. All direct positions shall directly or indirectly be associated with a coordinate reference system. When geometry elements are aggregated in another geometry element (such as a MultiGeometry or GeometricComplex), which already has a coordinate reference system specified, then these elements are assumed to be in that same coordinate reference system unless otherwise specified. +The geometry model distinguishes geometric primitives, aggregates and complexes. +Geometric primitives, i.e. instances of a subtype of AbstractGeometricPrimitiveType, will be open, that is, they will not contain their boundary points; curves will not contain their end points, surfaces will not contain their boundary curves, and solids will not contain their bounding surfaces. + +GML is an OGC Standard. +Copyright (c) 2007, 2010, 2016, 2018 Open Geospatial Consortium. +To obtain additional rights of use, visit http://www.opengeospatial.org/legal/ . + + + + + + + All geometry elements are derived directly or indirectly from this abstract supertype. A geometry element may have an identifying attribute (gml:id), one or more names (elements identifier and name) and a description (elements description and descriptionReference) . It may be associated with a spatial reference system (attribute group gml:SRSReferenceGroup). +The following rules shall be adhered to: +- Every geometry type shall derive from this abstract type. +- Every geometry element (i.e. an element of a geometry type) shall be directly or indirectly in the substitution group of AbstractGeometry. + + + + + + + + + + The attribute group SRSReferenceGroup is an optional reference to the CRS used by this geometry, with optional additional information to simplify the processing of the coordinates when a more complete definition of the CRS is not needed. +In general the attribute srsName points to a CRS instance of gml:AbstractCoordinateReferenceSystem. For well-known references it is not required that the CRS description exists at the location the URI points to. +If no srsName attribute is given, the CRS shall be specified as part of the larger context this geometry element is part of. + + + + + + + + The attributes uomLabels and axisLabels, defined in the SRSInformationGroup attribute group, are optional additional and redundant information for a CRS to simplify the processing of the coordinate values when a more complete definition of the CRS is not needed. This information shall be the same as included in the complete definition of the CRS, referenced by the srsName attribute. When the srsName attribute is included, either both or neither of the axisLabels and uomLabels attributes shall be included. When the srsName attribute is omitted, both of these attributes shall be omitted. +The attribute axisLabels is an ordered list of labels for all the axes of this CRS. The gml:axisAbbrev value should be used for these axis labels, after spaces and forbidden characters are removed. When the srsName attribute is included, this attribute is optional. When the srsName attribute is omitted, this attribute shall also be omitted. +The attribute uomLabels is an ordered list of unit of measure (uom) labels for all the axes of this CRS. The value of the string in the gml:catalogSymbol should be used for this uom labels, after spaces and forbidden characters are removed. When the axisLabels attribute is included, this attribute shall also be included. When the axisLabels attribute is omitted, this attribute shall also be omitted. + + + + + + + The AbstractGeometry element is the abstract head of the substitution group for all geometry elements of GML. This includes pre-defined and user-defined geometry elements. Any geometry element shall be a direct or indirect extension/restriction of AbstractGeometryType and shall be directly or indirectly in the substitution group of AbstractGeometry. + + + + + A geometric property may either be any geometry element encapsulated in an element of this type or an XLink reference to a remote geometry element (where remote includes geometry elements located elsewhere in the same or another document). Note that either the reference or the contained element shall be given, but not both or none. +If a feature has a property that takes a geometry element as its value, this is called a geometry property. A generic type for such a geometry property is GeometryPropertyType. + + + + + + + + + + If a feature has a property which takes an array of geometry elements as its value, this is called a geometry array property. A generic type for such a geometry property is GeometryArrayPropertyType. +The elements are always contained inline in the array property, referencing geometry elements or arrays of geometry elements via XLinks is not supported. + + + + + + + + + Direct position instances hold the coordinates for a position within some coordinate reference system (CRS). Since direct positions, as data types, will often be included in larger objects (such as geometry elements) that have references to CRS, the srsName attribute will in general be missing, if this particular direct position is included in a larger element with such a reference to a CRS. In this case, the CRS is implicitly assumed to take on the value of the containing object's CRS. +if no srsName attribute is given, the CRS shall be specified as part of the larger context this geometry element is part of, typically a geometric object like a point, curve, etc. + + + + + + + + + + + posList instances (and other instances with the content model specified by DirectPositionListType) hold the coordinates for a sequence of direct positions within the same coordinate reference system (CRS). +if no srsName attribute is given, the CRS shall be specified as part of the larger context this geometry element is part of, typically a geometric object like a point, curve, etc. +The optional attribute count specifies the number of direct positions in the list. If the attribute count is present then the attribute srsDimension shall be present, too. +The number of entries in the list is equal to the product of the dimensionality of the coordinate reference system (i.e. it is a derived value of the coordinate reference system definition) and the number of direct positions. + + + + + + + + + + + + GML supports two different ways to specify a geometric position: either by a direct position (a data type) or a point (a geometric object). +pos elements are positions that are "owned" by the geometric primitive encapsulating this geometric position. +pointProperty elements contain a point that may be referenced from other geometry elements or reference another point defined elsewhere (reuse of existing points). + + + + + + + + + GML supports two different ways to specify a list of geometric positions: either by a sequence of geometric positions (by reusing the group definition) or a sequence of direct positions (element posList). +The posList element allows for a compact way to specify the coordinates of the positions, if all positions are represented in the same coordinate reference system. + + + + + + + + + For some applications the components of the position may be adjusted to yield a unit vector. + + + + + + + + + + + + + + + deprecated + + + + + + + + + Envelope defines an extent using a pair of positions defining opposite corners in arbitrary dimensions. The first direct position is the "lower corner" (a coordinate position consisting of all the minimal ordinates for each dimension for all points within the envelope), the second one the "upper corner" (a coordinate position consisting of all the maximal ordinates for each dimension for all points within the envelope). +The use of the properties "coordinates" and "pos" has been deprecated. The explicitly named properties "lowerCorner" and "upperCorner" shall be used instead. + + + + + gml:AbstractGeometricPrimitiveType is the abstract root type of the geometric primitives. A geometric primitive is a geometric object that is not decomposed further into other primitives in the system. All primitives are oriented in the direction implied by the sequence of their coordinate tuples. + + + + + + + + The AbstractGeometricPrimitive element is the abstract head of the substitution group for all (pre- and user-defined) geometric primitives. + + + + + A property that has a geometric primitive as its value domain may either be an appropriate geometry element encapsulated in an element of this type or an XLink reference to a remote geometry element (where remote includes geometry elements located elsewhere in the same document). Either the reference or the contained element shall be given, but neither both nor none. + + + + + + + + + + + + + + + + + + + + + + A Point is defined by a single coordinate tuple. The direct position of a point is specified by the pos element which is of type DirectPositionType. + + + + + A property that has a point as its value domain may either be an appropriate geometry element encapsulated in an element of this type or an XLink reference to a remote geometry element (where remote includes geometry elements located elsewhere in the same document). Either the reference or the contained element shall be given, but neither both nor none. + + + + + + + + + + This property element either references a point via the XLink-attributes or contains the point element. pointProperty is the predefined property which may be used by GML Application Schemas whenever a GML feature has a property with a value that is substitutable for Point. + + + + + gml:PointArrayPropertyType is a container for an array of points. The elements are always contained inline in the array property, referencing geometry elements or arrays of geometry elements via XLinks is not supported. + + + + + + + + + gml:AbstractCurveType is an abstraction of a curve to support the different levels of complexity. The curve may always be viewed as a geometric primitive, i.e. is continuous. + + + + + + + + The AbstractCurve element is the abstract head of the substitution group for all (continuous) curve elements. + + + + + A property that has a curve as its value domain may either be an appropriate geometry element encapsulated in an element of this type or an XLink reference to a remote geometry element (where remote includes geometry elements located elsewhere in the same document). Either the reference or the contained element shall be given, but neither both nor none. + + + + + + + + + + This property element either references a curve via the XLink-attributes or contains the curve element. curveProperty is the predefined property which may be used by GML Application Schemas whenever a GML feature has a property with a value that is substitutable for AbstractCurve. + + + + + A container for an array of curves. The elements are always contained in the array property, referencing geometry elements or arrays of geometry elements via XLinks is not supported. + + + + + + + + + + + + + + + + + + + + + + + + + + A LineString is a special curve that consists of a single segment with linear interpolation. It is defined by two or more coordinate tuples, with linear interpolation between them. The number of direct positions in the list shall be at least two. + + + diff --git a/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/gml/3.2.1/geometryBasic2d.xsd b/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/gml/3.2.1/geometryBasic2d.xsd new file mode 100644 index 00000000..a571add2 --- /dev/null +++ b/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/gml/3.2.1/geometryBasic2d.xsd @@ -0,0 +1,128 @@ + + + + geometryBasic2d.xsd + See ISO/DIS 19136 Clause 10. + + GML is an OGC Standard. + Copyright (c) 2007, 2010, 2016, 2018 Open Geospatial Consortium. + To obtain additional rights of use, visit http://www.opengeospatial.org/legal/ . + + + + + + + gml:AbstractSurfaceType is an abstraction of a surface to support the different levels of complexity. A surface is always a continuous region of a plane. + + + + + + + + The AbstractSurface element is the abstract head of the substitution group for all (continuous) surface elements. + + + + + A property that has a surface as its value domain may either be an appropriate geometry element encapsulated in an element of this type or an XLink reference to a remote geometry element (where remote includes geometry elements located elsewhere in the same document). Either the reference or the contained element shall be given, but neither both nor none. + + + + + + + + + + This property element either references a surface via the XLink-attributes or contains the surface element. surfaceProperty is the predefined property which may be used by GML Application Schemas whenever a GML feature has a property with a value that is substitutable for AbstractSurface. + + + + + gml:SurfaceArrayPropertyType is a container for an array of surfaces. The elements are always contained in the array property, referencing geometry elements or arrays of geometry elements via XLinks is not supported. + + + + + + + + + + + + + + + + + + + A Polygon is a special surface that is defined by a single surface patch (see D.3.6). The boundary of this patch is coplanar and the polygon uses planar interpolation in its interior. +The elements exterior and interior describe the surface boundary of the polygon. + + + + + A boundary of a surface consists of a number of rings. In the normal 2D case, one of these rings is distinguished as being the exterior boundary. In a general manifold this is not always possible, in which case all boundaries shall be listed as interior boundaries, and the exterior will be empty. + + + + + A boundary of a surface consists of a number of rings. The "interior" rings separate the surface / surface patch from the area enclosed by the rings. + + + + + + + + + + + + An abstraction of a ring to support surface boundaries of different complexity. +The AbstractRing element is the abstract head of the substituition group for all closed boundaries of a surface patch. + + + + + A property with the content model of gml:AbstractRingPropertyType encapsulates a ring to represent the surface boundary property of a surface. + + + + + + + + + + + + + + + + + + + + + + + + + A LinearRing is defined by four or more coordinate tuples, with linear interpolation between them; the first and last coordinates shall be coincident. The number of direct positions in the list shall be at least four. + + + + + A property with the content model of gml:LinearRingPropertyType encapsulates a linear ring to represent a component of a surface boundary. + + + + + + diff --git a/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/gml/3.2.1/geometryComplexes.xsd b/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/gml/3.2.1/geometryComplexes.xsd new file mode 100644 index 00000000..f359cea9 --- /dev/null +++ b/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/gml/3.2.1/geometryComplexes.xsd @@ -0,0 +1,95 @@ + + + + geometryComplexes.xsd + See ISO/DIS 19136 12.2. +Geometric complexes (i.e. instances of gml:GeometricComplexType) are closed collections of geometric primitives, i.e. they will contain their boundaries. +A geometric complex (gml:GeometricComplex) is defined by ISO 19107:2003, 6.6.1 as "a set of primitive geometric objects (in a common coordinate system) whose interiors are disjoint. Further, if a primitive is in a geometric complex, then there exists a set of primitives in that complex whose point-wise union is the boundary of this first primitive." +A geometric composite (gml:CompositeCurve, gml:CompositeSurface and gml:CompositeSolid) represents a geometric complex with an underlying core geometry that is isomorphic to a primitive, i.e. it can be viewed as a primitive and as a complex. See ISO 19107:2003, 6.1 and 6.6.3 for more details on the nature of composite geometries. +Geometric complexes and composites are intended to be used in application schemas where the sharing of geometry is important. + +GML is an OGC Standard. +Copyright (c) 2007, 2010, 2016, 2018 Open Geospatial Consortium. +To obtain additional rights of use, visit http://www.opengeospatial.org/legal/ . + + + + + + + + + + + + + + + + + + A property that has a geometric complex as its value domain may either be an appropriate geometry element encapsulated in an element of this type or an XLink reference to a remote geometry element (where remote includes geometry elements located elsewhere in the same document). Either the reference or the contained element shall be given, but neither both nor none. + + + + + + + + + + + + + + + + + + + + + + + + + A gml:CompositeCurve is represented by a sequence of (orientable) curves such that each curve in the sequence terminates at the start point of the subsequent curve in the list. +curveMember references or contains inline one curve in the composite curve. +The curves are contiguous, the collection of curves is ordered. Therefore, if provided, the aggregationType attribute shall have the value "sequence". + + + + + + + + + + + + + + + A gml:CompositeSurface is represented by a set of orientable surfaces. It is geometry type with all the geometric properties of a (primitive) surface. Essentially, a composite surface is a collection of surfaces that join in pairs on common boundary curves and which, when considered as a whole, form a single surface. +surfaceMember references or contains inline one surface in the composite surface. +The surfaces are contiguous. + + + + + + + + + + + + + + + gml:CompositeSolid implements ISO 19107 GM_CompositeSolid (see ISO 19107:2003, 6.6.7) as specified in D.2.3.6. +A gml:CompositeSolid is represented by a set of orientable surfaces. It is a geometry type with all the geometric properties of a (primitive) solid. Essentially, a composite solid is a collection of solids that join in pairs on common boundary surfaces and which, when considered as a whole, form a single solid. +solidMember references or contains one solid in the composite solid. The solids are contiguous. + + + diff --git a/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/gml/3.2.1/geometryPrimitives.xsd b/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/gml/3.2.1/geometryPrimitives.xsd new file mode 100644 index 00000000..95959815 --- /dev/null +++ b/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/gml/3.2.1/geometryPrimitives.xsd @@ -0,0 +1,850 @@ + + + + geometryPrimitives.xsd + See ISO/DIS 19136 Clause 11. +Beside the "simple" geometric primitives specified in the previous Clause, this Clause specifies additional primitives to describe real world situations which require a more expressive geometry model. + +GML is an OGC Standard. +Copyright (c) 2007, 2010, 2016, 2018 Open Geospatial Consortium. +To obtain additional rights of use, visit http://www.opengeospatial.org/legal/ . + + + + + + + + + + + + + + + + A curve is a 1-dimensional primitive. Curves are continuous, connected, and have a measurable length in terms of the coordinate system. +A curve is composed of one or more curve segments. Each curve segment within a curve may be defined using a different interpolation method. The curve segments are connected to one another, with the end point of each segment except the last being the start point of the next segment in the segment list. +The orientation of the curve is positive. +The element segments encapsulates the segments of the curve. + + + + + + + + + + + + + + + The property baseCurve references or contains the base curve, i.e. it either references the base curve via the XLink-attributes or contains the curve element. A curve element is any element which is substitutable for AbstractCurve. The base curve has positive orientation. + + + + + OrientableCurve consists of a curve and an orientation. If the orientation is "+", then the OrientableCurve is identical to the baseCurve. If the orientation is "-", then the OrientableCurve is related to another AbstractCurve with a parameterization that reverses the sense of the curve traversal. + + + + + + + + + + A curve segment defines a homogeneous segment of a curve. +The attributes numDerivativesAtStart, numDerivativesAtEnd and numDerivativesInterior specify the type of continuity as specified in ISO 19107:2003, 6.4.9.3. +The AbstractCurveSegment element is the abstract head of the substituition group for all curve segment elements, i.e. continuous segments of the same interpolation mechanism. +All curve segments shall have an attribute interpolation with type gml:CurveInterpolationType specifying the curve interpolation mechanism used for this segment. This mechanism uses the control points and control parameters to determine the position of this curve segment. + + + + + gml:CurveSegmentArrayPropertyType is a container for an array of curve segments. + + + + + + + + This property element contains a list of curve segments. The order of the elements is significant and shall be preserved when processing the array. + + + + + gml:CurveInterpolationType is a list of codes that may be used to identify the interpolation mechanisms specified by an application schema. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + A LineStringSegment is a curve segment that is defined by two or more control points including the start and end point, with linear interpolation between them. +The content model follows the general pattern for the encoding of curve segments. + + + + + + + + + + + + + + + + + + + + + + + + An ArcString is a curve segment that uses three-point circular arc interpolation ("circularArc3Points"). The number of arcs in the arc string may be explicitly stated in the attribute numArc. The number of control points in the arc string shall be 2 * numArc + 1. +The content model follows the general pattern for the encoding of curve segments. + + + + + + + + + + + + + + + + + + + + + + + An Arc is an arc string with only one arc unit, i.e. three control points including the start and end point. As arc is an arc string consisting of a single arc, the attribute "numArc" is fixed to "1". + + + + + + + + + + A Circle is an arc whose ends coincide to form a simple closed loop. The three control points shall be distinct non-co-linear points for the circle to be unambiguously defined. The arc is simply extended past the third control point until the first control point is encountered. + + + + + + + + + + + + + + + + + + + + + + + + + + This variant of the arc computes the mid points of the arcs instead of storing the coordinates directly. The control point sequence consists of the start and end points of each arc plus the bulge (see ISO 19107:2003, 6.4.17.2). The normal is a vector normal (perpendicular) to the chord of the arc (see ISO 19107:2003, 6.4.17.4). +The interpolation is fixed as "circularArc2PointWithBulge". +The number of arcs in the arc string may be explicitly stated in the attribute numArc. The number of control points in the arc string shall be numArc + 1. +The content model follows the general pattern for the encoding of curve segments. + + + + + + + + + + + + + + + + + + + + + + + + + An ArcByBulge is an arc string with only one arc unit, i.e. two control points, one bulge and one normal vector. +As arc is an arc string consisting of a single arc, the attribute "numArc" is fixed to "1". + + + + + + + + + + + + + + + + + + + + + + + + + + + This variant of the arc requires that the points on the arc shall be computed instead of storing the coordinates directly. The single control point is the center point of the arc plus the radius and the bearing at start and end. This representation can be used only in 2D. +The element radius specifies the radius of the arc. +The element startAngle specifies the bearing of the arc at the start. +The element endAngle specifies the bearing of the arc at the end. +The interpolation is fixed as "circularArcCenterPointWithRadius". +Since this type describes always a single arc, the attribute "numArc" is fixed to "1". +The content model follows the general pattern for the encoding of curve segments. + + + + + + + + + + + + + + + + + + + + + + + A gml:CircleByCenterPoint is an gml:ArcByCenterPoint with identical start and end angle to form a full circle. Again, this representation can be used only in 2D. + + + + + + + + + + + + + + + + + + + + + + + + + + The number of control points shall be at least three. +vectorAtStart is the unit tangent vector at the start point of the spline. vectorAtEnd is the unit tangent vector at the end point of the spline. Only the direction of the vectors shall be used to determine the shape of the cubic spline, not their length. +interpolation is fixed as "cubicSpline". +degree shall be the degree of the polynomial used for the interpolation in this spline. Therefore the degree for a cubic spline is fixed to "3". +The content model follows the general pattern for the encoding of curve segments. + + + + + + + + + + + + + + + + + + + + + + + + + + + A B-Spline is a piecewise parametric polynomial or rational curve described in terms of control points and basis functions as specified in ISO 19107:2003, 6.4.30. Therefore, interpolation may be either "polynomialSpline" or "rationalSpline" depending on the interpolation type; default is "polynomialSpline". +degree shall be the degree of the polynomial used for interpolation in this spline. +knot shall be the sequence of distinct knots used to define the spline basis functions (see ISO 19107:2003, 6.4.26.2). +The attribute isPolynomial shall be set to "true" if this is a polynomial spline (see ISO 19107:2003, 6.4.30.5). +The attribute knotType shall provide the type of knot distribution used in defining this spline (see ISO 19107:2003, 6.4.30.4). +The content model follows the general pattern for the encoding of curve segments. + + + + + + + + + + + + gml:KnotPropertyType encapsulates a knot to use it in a geometric type. + + + + + A knot is a breakpoint on a piecewise spline curve. +value is the value of the parameter at the knot of the spline (see ISO 19107:2003, 6.4.24.2). +multiplicity is the multiplicity of this knot used in the definition of the spline (with the same weight). +weight is the value of the averaging weight used for this knot of the spline. + + + + + + + This enumeration type specifies values for the knots' type (see ISO 19107:2003, 6.4.25). + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Bezier curves are polynomial splines that use Bezier or Bernstein polynomials for interpolation purposes. It is a special case of the B-Spline curve with two knots. +degree shall be the degree of the polynomial used for interpolation in this spline. +knot shall be the sequence of distinct knots used to define the spline basis functions. +interpolation is fixed as "polynomialSpline". +isPolynomial is fixed as "true". +knotType is not relevant for Bezier curve segments. + + + + + + + + + + + + + + + + + An offset curve is a curve at a constant distance from the basis curve. offsetBase is the base curve from which this curve is defined as an offset. distance and refDirection have the same meaning as specified in ISO 19107:2003, 6.4.23. +The content model follows the general pattern for the encoding of curve segments. + + + + + + + + + + + + + location, refDirection, inDimension and outDimension have the same meaning as specified in ISO 19107:2003, 6.4.21. + + + + + + + + + + + + + + + + + + + + + + + + A clothoid, or Cornu's spiral, is plane curve whose curvature is a fixed function of its length. +refLocation, startParameter, endParameter and scaleFactor have the same meaning as specified in ISO 19107:2003, 6.4.22. +interpolation is fixed as "clothoid". +The content model follows the general pattern for the encoding of curve segments. + + + + + + + + + + + + + + + + A sequence of geodesic segments. +The number of control points shall be at least two. +interpolation is fixed as "geodesic". +The content model follows the general pattern for the encoding of curve segments. + + + + + + + + + + + + + + + + + + + + A Surface is a 2-dimensional primitive and is composed of one or more surface patches as specified in ISO 19107:2003, 6.3.17.1. The surface patches are connected to one another. +patches encapsulates the patches of the surface. + + + + + + + + + + + + + + + The property baseSurface references or contains the base surface. The property baseSurface either references the base surface via the XLink-attributes or contains the surface element. A surface element is any element which is substitutable for gml:AbstractSurface. The base surface has positive orientation. + + + + + OrientableSurface consists of a surface and an orientation. If the orientation is "+", then the OrientableSurface is identical to the baseSurface. If the orientation is "-", then the OrientableSurface is a reference to a gml:AbstractSurface with an up-normal that reverses the direction for this OrientableSurface, the sense of "the top of the surface". + + + + + + A surface patch defines a homogenuous portion of a surface. +The AbstractSurfacePatch element is the abstract head of the substituition group for all surface patch elements describing a continuous portion of a surface. +All surface patches shall have an attribute interpolation (declared in the types derived from gml:AbstractSurfacePatchType) specifying the interpolation mechanism used for the patch using gml:SurfaceInterpolationType. + + + + + gml:SurfacePatchArrayPropertyType is a container for a sequence of surface patches. + + + + + + + + The patches property element contains the sequence of surface patches. The order of the elements is significant and shall be preserved when processing the array. + + + + + gml:SurfaceInterpolationType is a list of codes that may be used to identify the interpolation mechanisms specified by an application schema. + + + + + + + + + + + + + + + + + + + + + + + + + + + + A gml:PolygonPatch is a surface patch that is defined by a set of boundary curves and an underlying surface to which these curves adhere. The curves shall be coplanar and the polygon uses planar interpolation in its interior. +interpolation is fixed to "planar", i.e. an interpolation shall return points on a single plane. The boundary of the patch shall be contained within that plane. + + + + + + + + + + + + + + + gml:Triangle represents a triangle as a surface patch with an outer boundary consisting of a linear ring. Note that this is a polygon (subtype) with no inner boundaries. The number of points in the linear ring shall be four. +The ring (element exterior) shall be a gml:LinearRing and shall form a triangle, the first and the last position shall be coincident. +interpolation is fixed to "planar", i.e. an interpolation shall return points on a single plane. The boundary of the patch shall be contained within that plane. + + + + + + + + + + + + + + + gml:Rectangle represents a rectangle as a surface patch with an outer boundary consisting of a linear ring. Note that this is a polygon (subtype) with no inner boundaries. The number of points in the linear ring shall be five. +The ring (element exterior) shall be a gml:LinearRing and shall form a rectangle; the first and the last position shall be coincident. +interpolation is fixed to "planar", i.e. an interpolation shall return points on a single plane. The boundary of the patch shall be contained within that plane. + + + + + + + + + + + + + + + A ring is used to represent a single connected component of a surface boundary as specified in ISO 19107:2003, 6.3.6. +Every gml:curveMember references or contains one curve, i.e. any element which is substitutable for gml:AbstractCurve. In the context of a ring, the curves describe the boundary of the surface. The sequence of curves shall be contiguous and connected in a cycle. +If provided, the aggregationType attribute shall have the value "sequence". + + + + + + A property with the content model of gml:RingPropertyType encapsulates a ring to represent a component of a surface boundary. + + + + + + + + A gml:PointGrid group contains or references points or positions which are organised into sequences or grids. All rows shall have the same number of positions (columns). + + + + + + + + + + + + + + + + + + + + + + + + + The element provides a substitution group head for the surface patches based on parametric curves. All properties are specified in the derived subtypes. All derived subtypes shall conform to the constraints specified in ISO 19107:2003, 6.4.40. +If provided, the aggregationType attribute shall have the value "set". + + + + + + + + + + + + + + + + if provided, rows gives the number of rows, columns the number of columns in the parameter grid. The parameter grid is represented by an instance of the gml:PointGrid group. +The element provides a substitution group head for the surface patches based on a grid. All derived subtypes shall conform to the constraints specified in ISO 19107:2003, 6.4.41. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + A polyhedral surface is a surface composed of polygon patches connected along their common boundary curves. This differs from the surface type only in the restriction on the types of surface patches acceptable. +polygonPatches encapsulates the polygon patches of the polyhedral surface. + + + + + A triangulated surface is a polyhedral surface that is composed only of triangles. There is no restriction on how the triangulation is derived. +trianglePatches encapsulates the triangles of the triangulated surface. + + + + + + + + + + + + + + + + + + + + + + + + A tin is a triangulated surface that uses the Delauny algorithm or a similar algorithm complemented with consideration of stoplines (stopLines), breaklines (breakLines), and maximum length of triangle sides (maxLength). controlPoint shall contain a set of the positions (three or more) used as posts for this TIN (corners of the triangles in the TIN). See ISO 19107:2003, 6.4.39 for details. + + + + + gml:LineStringSegmentArrayPropertyType provides a container for line strings. + + + + + + + + gml:AbstractSolidType is an abstraction of a solid to support the different levels of complexity. The solid may always be viewed as a geometric primitive, i.e. is contiguous. + + + + + + + + The AbstractSolid element is the abstract head of the substituition group for all (continuous) solid elements. + + + + + A property that has a solid as its value domain may either be an appropriate geometry element encapsulated in an element of this type or an XLink reference to a remote geometry element (where remote includes geometry elements located elsewhere in the same document). Either the reference or the contained element shall be given, but neither both nor none. + + + + + + + + + + This property element either references a solid via the XLink-attributes or contains the solid element. solidProperty is the predefined property which may be used by GML Application Schemas whenever a GML feature has a property with a value that is substitutable for AbstractSolid. + + + + + gml:SolidArrayPropertyType is a container for an array of solids. The elements are always contained in the array property, referencing geometry elements or arrays of geometry elements is not supported. + + + + + + + + + + + + + + + + + + + A solid is the basis for 3-dimensional geometry. The extent of a solid is defined by the boundary surfaces as specified in ISO 19107:2003, 6.3.18. exterior specifies the outer boundary, interior the inner boundary of the solid. + + + + + + + + + + + + + + + A shell is used to represent a single connected component of a solid boundary as specified in ISO 19107:2003, 6.3.8. +Every gml:surfaceMember references or contains one surface, i.e. any element which is substitutable for gml:AbstractSurface. In the context of a shell, the surfaces describe the boundary of the solid. +If provided, the aggregationType attribute shall have the value "set". + + + + + + This property element either references a surface via the XLink-attributes or contains the surface element. A surface element is any element, which is substitutable for gml:AbstractSurface. + + + + + A property with the content model of gml:ShellPropertyType encapsulates a shell to represent a component of a solid boundary. + + + + + + diff --git a/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/gml/3.2.1/gml.xsd b/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/gml/3.2.1/gml.xsd new file mode 100644 index 00000000..a7f94206 --- /dev/null +++ b/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/gml/3.2.1/gml.xsd @@ -0,0 +1,20 @@ + + + + gml.xsd + + GML is an OGC Standard. + Copyright (c) 2007, 2010, 2016, 2018 Open Geospatial Consortium. + To obtain additional rights of use, visit http://www.opengeospatial.org/legal/ . + + + + + + + + + + + + diff --git a/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/gml/3.2.1/gmlBase.xsd b/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/gml/3.2.1/gmlBase.xsd new file mode 100644 index 00000000..7bae5cc1 --- /dev/null +++ b/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/gml/3.2.1/gmlBase.xsd @@ -0,0 +1,185 @@ + + + + gmlBase.xsd + See ISO/DIS 19136 7.2. +The gmlBase schema components establish the GML model and syntax, in particular +- a root XML type from which XML types for all GML objects should be derived, +- a pattern and components for GML properties, +- patterns for collections and arrays, and components for generic collections and arrays, +- components for associating metadata with GML objects, +- components for constructing definitions and dictionaries. + +GML is an OGC Standard. +Copyright (c) 2007, 2010, 2016, 2018 Open Geospatial Consortium. +To obtain additional rights of use, visit http://www.opengeospatial.org/legal/ . + + + + + + + + This element has no type defined, and is therefore implicitly (according to the rules of W3C XML Schema) an XML Schema anyType. It is used as the head of an XML Schema substitution group which unifies complex content and certain simple content elements used for datatypes in GML, including the gml:AbstractGML substitution group. + + + + + The abstract element gml:AbstractGML is "any GML object having identity". It acts as the head of an XML Schema substitution group, which may include any element which is a GML feature, or other object, with identity. This is used as a variable in content models in GML core and application schemas. It is effectively an abstract superclass for all GML objects. + + + + + + + + + + + + + + + + + + + + XLink components are the standard method to support hypertext referencing in XML. An XML Schema attribute group, gml:AssociationAttributeGroup, is provided to support the use of Xlinks as the method for indicating the value of a property by reference in a uniform manner in GML. + + + + + + deprecated + + + + + + Applying this pattern shall restrict the multiplicity of objects in a property element using this content model to exactly one. An instance of this type shall contain an element representing an object, or serve as a pointer to a remote object. +Applying the pattern to define an application schema specific property type allows to restrict +- the inline object to specified object types, +- the encoding to "by-reference only" (see 7.2.3.7), +- the encoding to "inline only" (see 7.2.3.8). + + + + + + + + + + + + Encoding a GML property inline vs. by-reference shall not imply anything about the "ownership" of the contained or referenced GML Object, i.e. the encoding style shall not imply any "deep-copy" or "deep-delete" semantics. To express ownership over the contained or referenced GML Object, the gml:OwnershipAttributeGroup attribute group may be added to object-valued property elements. If the attribute group is not part of the content model of such a property element, then the value may not be "owned". +When the value of the owns attribute is "true", the existence of inline or referenced object(s) depends upon the existence of the parent object. + + + + + + This element shows how an element + declaration may include a Schematron constraint to limit the property to act + in either inline or by-reference mode, but not both. + + + + + gml:abstractReference may be used as the head of a subtitution group of more specific elements providing a value by-reference. + + + + + gml:ReferenceType is intended to be used in application schemas directly, if a property element shall use a "by-reference only" encoding. + + + + + + + + gml:abstractInlineProperty may be used as the head of a subtitution group of more specific elements providing a value inline. + + + + + + + + + + + If the value of an object property is another object and that object contains also a property for the association between the two objects, then this name of the reverse property may be encoded in a gml:reversePropertyName element in an appinfo annotation of the property element to document the constraint between the two properties. The value of the element shall contain the qualified name of the property element. + + + + + The value of this property is a text description of the object. gml:description uses gml:StringOrRefType as its content model, so it may contain a simple text string content, or carry a reference to an external description. The use of gml:description to reference an external description has been deprecated and replaced by the gml:descriptionReference property. + + + + + The value of this property is a remote text description of the object. The xlink:href attribute of the gml:descriptionReference property references the external description. + + + + + The gml:name property provides a label or identifier for the object, commonly a descriptive name. An object may have several names, typically assigned by different authorities. gml:name uses the gml:CodeType content model. The authority for a name is indicated by the value of its (optional) codeSpace attribute. The name may or may not be unique, as determined by the rules of the organization responsible for the codeSpace. In common usage there will be one name per authority, so a processing application may select the name from its preferred codeSpace. + + + + + Often, a special identifier is assigned to an object by the maintaining authority with the intention that it is used in references to the object For such cases, the codeSpace shall be provided. That identifier is usually unique either globally or within an application domain. gml:identifier is a pre-defined property for such identifiers. + + + + + The attribute gml:id supports provision of a handle for the XML element representing a GML Object. Its use is mandatory for all GML objects. It is of XML type ID, so is constrained to be unique in the XML document within which it occurs. + + + + + To create a collection of GML Objects that are not all features, a property type shall be derived by extension from gml:AbstractMemberType. +This abstract property type is intended to be used only in object types where software shall be able to identify that an instance of such an object type is to be interpreted as a collection of objects. +By default, this abstract property type does not imply any ownership of the objects in the collection. The owns attribute of gml:OwnershipAttributeGroup may be used on a property element instance to assert ownership of an object in the collection. A collection shall not own an object already owned by another object. + + + + + + + + A GML Object Collection is any GML Object with a property element in its content model whose content model is derived by extension from gml:AbstractMemberType. +In addition, the complex type describing the content model of the GML Object Collection may also include a reference to the attribute group gml:AggregationAttributeGroup to provide additional information about the semantics of the object collection. This information may be used by applications to group GML objects, and optionally to order and index them. +The allowed values for the aggregationType attribute are defined by gml:AggregationType. See 8.4 of ISO/IEC 11404:1996 for the meaning of the values in the enumeration. + + + + + + + + + + + + + + + + To associate metadata described by any XML Schema with a GML object, a property element shall be defined whose content model is derived by extension from gml:AbstractMetadataPropertyType. +The value of such a property shall be metadata. The content model of such a property type, i.e. the metadata application schema shall be specified by the GML Application Schema. +By default, this abstract property type does not imply any ownership of the metadata. The owns attribute of gml:OwnershipAttributeGroup may be used on a metadata property element instance to assert ownership of the metadata. +If metadata following the conceptual model of ISO 19115 is to be encoded in a GML document, the corresponding Implementation Specification specified in ISO/TS 19139 shall be used to encode the metadata information. + + + + + + + + + + diff --git a/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/gml/3.2.1/grids.xsd b/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/gml/3.2.1/grids.xsd new file mode 100644 index 00000000..69900a8c --- /dev/null +++ b/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/gml/3.2.1/grids.xsd @@ -0,0 +1,64 @@ + + + + grids.xsd + See ISO/DIS 19136 20.2. +An implicit description of geometry is one in which the items of the geometry do not explicitly appear in the encoding. Instead, a compact notation records a set of parameters, and a set of objects may be generated using a rule with these parameters. This Clause provides grid geometries that are used in the description of gridded coverages and other applications. +In GML two grid structures are defined, namely gml:Grid and gml:RectifiedGrid. + +GML is an OGC Standard. +Copyright (c) 2007, 2010, 2016, 2018 Open Geospatial Consortium. +To obtain additional rights of use, visit http://www.opengeospatial.org/legal/ . + + + + + + + The gml:Grid implicitly defines an unrectified grid, which is a network composed of two or more sets of curves in which the members of each set intersect the members of the other sets in an algorithmic way. The region of interest within the grid is given in terms of its gml:limits, being the grid coordinates of diagonally opposed corners of a rectangular region. gml:axisLabels is provided with a list of labels of the axes of the grid (gml:axisName has been deprecated). gml:dimension specifies the dimension of the grid. +The gml:limits element contains a single gml:GridEnvelope. The gml:low and gml:high property elements of the envelope are each integerLists, which are coordinate tuples, the coordinates being measured as offsets from the origin of the grid along each axis, of the diagonally opposing corners of a "rectangular" region of interest. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + A rectified grid is a grid for which there is an affine transformation between the grid coordinates and the coordinates of an external coordinate reference system. It is defined by specifying the position (in some geometric space) of the grid "origin" and of the vectors that specify the post locations. +Note that the grid limits (post indexes) and axis name properties are inherited from gml:GridType and that gml:RectifiedGrid adds a gml:origin property (contains or references a gml:Point) and a set of gml:offsetVector properties. + + + + + + + + + + + + + diff --git a/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/gml/3.2.1/measures.xsd b/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/gml/3.2.1/measures.xsd new file mode 100644 index 00000000..647ecdfd --- /dev/null +++ b/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/gml/3.2.1/measures.xsd @@ -0,0 +1,68 @@ + + + + measures.xsd + See ISO/DIS 19136 17.3. +gml:MeasureType is defined in the basicTypes schema. The measure types defined here correspond with a set of convenience measure types described in ISO/TS 19103. The XML implementation is based on the XML Schema simple type "double" which supports both decimal and scientific notation, and includes an XML attribute "uom" which refers to the units of measure for the value. Note that, there is no requirement to store values using any particular format, and applications receiving elements of this type may choose to coerce the data to any other type as convenient. + +GML is an OGC Standard. +Copyright (c) 2007, 2010, 2016, 2018 Open Geospatial Consortium. +To obtain additional rights of use, visit http://www.opengeospatial.org/legal/ . + + + + + + + The value of a physical quantity, together with its unit. + + + + + This is a prototypical definition for a specific measure type defined as a vacuous extension (i.e. aliases) of gml:MeasureType. In this case, the content model supports the description of a length (or distance) quantity, with its units. The unit of measure referenced by uom shall be suitable for a length, such as metres or feet. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + The gml:angle property element is used to record the value of an angle quantity as a single number, with its units. + + + diff --git a/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/gml/3.2.1/observation.xsd b/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/gml/3.2.1/observation.xsd new file mode 100644 index 00000000..1fb8aee2 --- /dev/null +++ b/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/gml/3.2.1/observation.xsd @@ -0,0 +1,95 @@ + + + + observation.xsd + See ISO/DIS 19136 Clause 19. +A GML observation models the act of observing, often with a camera, a person or some form of instrument. An observation feature describes the "metadata" associated with an information capture event, together with a value for the result of the observation. This covers a broad range of cases, from a tourist photo (not the photo but the act of taking the photo), to images acquired by space borne sensors or the measurement of a temperature 5 meters below the surfaces of a lake. +The basic structures introduced in this schema are intended to serve as the foundation for more comprehensive schemas for scientific, technical and engineering measurement schemas. + +GML is an OGC Standard. +Copyright (c) 2007, 2010, 2016, 2018 Open Geospatial Consortium. +To obtain additional rights of use, visit http://www.opengeospatial.org/legal/ . + + + + + + + + + The content model is a straightforward extension of gml:AbstractFeatureType; it automatically has the gml:identifier, gml:description, gml:descriptionReference, gml:name, and gml:boundedBy properties. +The gml:validTime element describes the time of the observation. Note that this may be a time instant or a time period. +The gml:using property contains or references a description of a sensor, instrument or procedure used for the observation. +The gml:target property contains or references the specimen, region or station which is the object of the observation. This property is particularly useful for remote observations, such as photographs, where a generic location property might apply to the location of the camera or the location of the field of view, and thus may be ambiguous. +The gml:subject element is provided as a convenient synonym for gml:target. This is the term commonly used in phtotography. +The gml:resultOf property indicates the result of the observation. The value may be inline, or a reference to a value elsewhere. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + A gml:DirectedObservation is the same as an observation except that it adds an additional gml:direction property. This is the direction in which the observation was acquired. Clearly this applies only to certain types of observations such as visual observations by people, or observations obtained from terrestrial cameras. + + + + + + + + + + + + + + gml:DirectedObservationAtDistance adds an additional distance property. This is the distance from the observer to the subject of the observation. Clearly this applies only to certain types of observations such as visual observations by people, or observations obtained from terrestrial cameras. + + + + + + + + + + + + diff --git a/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/gml/3.2.1/referenceSystems.xsd b/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/gml/3.2.1/referenceSystems.xsd new file mode 100644 index 00000000..ce5d6628 --- /dev/null +++ b/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/gml/3.2.1/referenceSystems.xsd @@ -0,0 +1,71 @@ + + + + referenceSystems.xsd + See ISO/DIS 19136 13.2. +The reference systems schema components have two logical parts, which define elements and types for XML encoding of the definitions of: +- Identified Object, inherited by the ten types of GML objects used for coordinate reference systems and coordinate operations +- High-level part of the definitions of coordinate reference systems +This schema encodes the Identified Object and Reference System packages of the UML Model for ISO 19111. + +GML is an OGC Standard. +Copyright (c) 2007, 2010, 2016, 2018 Open Geospatial Consortium. +To obtain additional rights of use, visit http://www.opengeospatial.org/legal/ . + + + + + + + + + gml:IdentifiedObjectType provides identification properties of a CRS-related object. In gml:DefinitionType, the gml:identifier element shall be the primary name by which this object is identified, encoding the "name" attribute in the UML model. +Zero or more of the gml:name elements can be an unordered set of "identifiers", encoding the "identifier" attribute in the UML model. Each of these gml:name elements can reference elsewhere the object's defining information or be an identifier by which this object can be referenced. +Zero or more other gml:name elements can be an unordered set of "alias" alternative names by which this CRS related object is identified, encoding the "alias" attributes in the UML model. An object may have several aliases, typically used in different contexts. The context for an alias is indicated by the value of its (optional) codeSpace attribute. +Any needed version information shall be included in the codeSpace attribute of a gml:identifier and gml:name elements. In this use, the gml:remarks element in the gml:DefinitionType shall contain comments on or information about this object, including data source information. + + + + + + + + gml:AbstractCRS specifies a coordinate reference system which is usually single but may be compound. This abstract complex type shall not be used, extended, or restricted, in a GML Application Schema, to define a concrete subtype with a meaning equivalent to a concrete subtype specified in this document. + + + + + + + + + + + + + + + The gml:domainOfValidity property implements an association role to an EX_Extent object as encoded in ISO/TS 19139, either referencing or containing the definition of that extent. + + + + + + + + + + + The gml:scope property provides a description of the usage, or limitations of usage, for which this CRS-related object is valid. If unknown, enter "not known". + + + + + gml:CRSPropertyType is a property type for association roles to a CRS abstract coordinate reference system, either referencing or containing the definition of that CRS. + + + + + + + diff --git a/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/gml/3.2.1/temporal.xsd b/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/gml/3.2.1/temporal.xsd new file mode 100644 index 00000000..fb9a9b39 --- /dev/null +++ b/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/gml/3.2.1/temporal.xsd @@ -0,0 +1,269 @@ + + + + temporal.xsd + See ISO/DIS 19136 15.2. +The GML temporal schemas include components for describing temporal geometry and topology, temporal reference systems, and the temporal characteristics of geographic data. The model underlying the representation constitutes a profile of the conceptual schema described in ISO 19108. The underlying spatiotemporal model strives to accommodate both feature-level and attribute-level time stamping; basic support for tracking moving objects is also included. +Time is measured on two types of scales: interval and ordinal. An interval scale offers a basis for measuring duration, an ordinal scale provides information only about relative position in time. +Two other ISO standards are relevant to describing temporal objects: ISO 8601 describes encodings for time instants and time periods, as text strings with particular structure and punctuation; ISO 11404 provides a detailed description of time intervals as part of a general discussion of language independent datatypes. +The temporal schemas cover two interrelated topics and provide basic schema components for representing temporal instants and periods, temporal topology, and reference systems; more specialized schema components defines components used for dynamic features. Instances of temporal geometric types are used as values for the temporal properties of geographic features. + +GML is an OGC Standard. +Copyright (c) 2007, 2010, 2016, 2018 Open Geospatial Consortium. +To obtain additional rights of use, visit http://www.opengeospatial.org/legal/ . + + + + + + + gml:AbstractTimeObject acts as the head of a substitution group for all temporal primitives and complexes. + + + + + + + + + + gml:AbstractTimePrimitive acts as the head of a substitution group for geometric and topological temporal primitives. + + + + + + + + + + + + + + gml:TimePrimitivePropertyType provides a standard content model for associations between an arbitrary member of the substitution group whose head is gml:AbstractTimePrimitive and another object. + + + + + + + + + + gml:validTime is a convenience property element. + + + + + gml:RelatedTimeType provides a content model for indicating the relative position of an arbitrary member of the substitution group whose head is gml:AbstractTimePrimitive. It extends the generic gml:TimePrimitivePropertyType with an XML attribute relativePosition, whose value is selected from the set of 13 temporal relationships identified by Allen (1983) + + + + + + + + + + + + + + + + + + + + + + + + + + + + gml:AbstractTimeComplex is an aggregation of temporal primitives and acts as the head of a substitution group for temporal complexes. + + + + + + + + + + gml:TimeGeometricPrimitive acts as the head of a substitution group for geometric temporal primitives. +A temporal geometry shall be associated with a temporal reference system through the frame attribute that provides a URI reference that identifies a description of the reference system. Following ISO 19108, the Gregorian calendar with UTC is the default reference system, but others may also be used. The GPS calendar is an alternative reference systems in common use. +The two geometric primitives in the temporal dimension are the instant and the period. GML components are defined to support these as follows. + + + + + + + + + + + + gml:TimeInstant acts as a zero-dimensional geometric primitive that represents an identifiable position in time. + + + + + + + + + + + + + + gml:TimeInstantPropertyType provides for associating a gml:TimeInstant with an object. + + + + + + + + + + gml:TimePeriod acts as a one-dimensional geometric primitive that represents an identifiable extent in time. +The location in of a gml:TimePeriod is described by the temporal positions of the instants at which it begins and ends. The length of the period is equal to the temporal distance between the two bounding temporal positions. +Both beginning and end may be described in terms of their direct position using gml:TimePositionType which is an XML Schema simple content type, or by reference to an indentifiable time instant using gml:TimeInstantPropertyType. +Alternatively a limit of a gml:TimePeriod may use the conventional GML property model to make a reference to a time instant described elsewhere, or a limit may be indicated as a direct position. + + + + + + + + + + + + + + + + + + + + + + gml:TimePeriodPropertyType provides for associating a gml:TimePeriod with an object. + + + + + + + + + + The method for identifying a temporal position is specific to each temporal reference system. gml:TimePositionType supports the description of temporal position according to the subtypes described in ISO 19108. +Values based on calendars and clocks use lexical formats that are based on ISO 8601, as described in XML Schema Part 2:2001. A decimal value may be used with coordinate systems such as GPS time or UNIX time. A URI may be used to provide a reference to some era in an ordinal reference system . +In common with many of the components modelled as data types in the ISO 19100 series of International Standards, the corresponding GML component has simple content. However, the content model gml:TimePositionType is defined in several steps. +Three XML attributes appear on gml:TimePositionType: +A time value shall be associated with a temporal reference system through the frame attribute that provides a URI reference that identifies a description of the reference system. Following ISO 19108, the Gregorian calendar with UTC is the default reference system, but others may also be used. Components for describing temporal reference systems are described in 14.4, but it is not required that the reference system be described in this, as the reference may refer to anything that may be indentified with a URI. +For time values using a calendar containing more than one era, the (optional) calendarEraName attribute provides the name of the calendar era. +Inexact temporal positions may be expressed using the optional indeterminatePosition attribute. This takes a value from an enumeration. + + + + + + + + + + + + These values are interpreted as follows: +- "unknown" indicates that no specific value for temporal position is provided. +- "now" indicates that the specified value shall be replaced with the current temporal position whenever the value is accessed. +- "before" indicates that the actual temporal position is unknown, but it is known to be before the specified value. +- "after" indicates that the actual temporal position is unknown, but it is known to be after the specified value. +A value for indeterminatePosition may +- be used either alone, or +- qualify a specific value for temporal position. + + + + + + + + + + + The simple type gml:TimePositionUnion is a union of XML Schema simple types which instantiate the subtypes for temporal position described in ISO 19108. + An ordinal era may be referenced via URI. A decimal value may be used to indicate the distance from the scale origin . time is used for a position that recurs daily (see ISO 19108:2002 5.4.4.2). + Finally, calendar and clock forms that support the representation of time in systems based on years, months, days, hours, minutes and seconds, in a notation following ISO 8601, are assembled by gml:CalDate + + + + + + + + + This element is used directly as a property of gml:TimeInstant (see 15.2.2.3), and may also be used in application schemas. + + + + + The length of a time period. + + + + + + + + + gml:duration conforms to the ISO 8601 syntax for temporal length as implemented by the XML Schema duration type. + + + + + gml:timeInterval conforms to ISO 11404 which is based on floating point values for temporal length. +ISO 11404 syntax specifies the use of a positiveInteger together with appropriate values for radix and factor. The resolution of the time interval is to one radix ^(-factor) of the specified time unit. +The value of the unit is either selected from the units for time intervals from ISO 31-1:1992, or is another suitable unit. The encoding is defined for GML in gml:TimeUnitType. The second component of this union type provides a method for indicating time units other than the six standard units given in the enumeration. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/gml/3.2.1/temporalReferenceSystems.xsd b/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/gml/3.2.1/temporalReferenceSystems.xsd new file mode 100644 index 00000000..e7251e3d --- /dev/null +++ b/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/gml/3.2.1/temporalReferenceSystems.xsd @@ -0,0 +1,189 @@ + + + + temporalReferenceSystems.xsd + See ISO/DIS 19136 15.5. +A value in the time domain is measured relative to a temporal reference system. Common types of reference systems include calendars, ordinal temporal reference systems, and temporal coordinate systems (time elapsed since some epoch). The primary temporal reference system for use with geographic information is the Gregorian Calendar and 24 hour local or Coordinated Universal Time (UTC), but special applications may entail the use of alternative reference systems. The Julian day numbering system is a temporal coordinate system that has an origin earlier than any known calendar, at noon on 1 January 4713 BC in the Julian proleptic calendar, and is useful in transformations between dates in different calendars. +In GML seven concrete elements are used to describe temporal reference systems: gml:TimeReferenceSystem, gml:TimeCoordinateSystem, gml:TimeCalendar, gml:TimeCalendarEra, gml:TimeClock, gml:TimeOrdinalReferenceSystem, and gml:TimeOrdinalEra. + +GML is an OGC Standard. +Copyright (c) 2007, 2010, 2016, 2018 Open Geospatial Consortium. +To obtain additional rights of use, visit http://www.opengeospatial.org/legal/ . + + + + + + + + A reference system is characterized in terms of its domain of validity: the spatial and temporal extent over which it is applicable. The basic GML element for temporal reference systems is gml:TimeReferenceSystem. Its content model extends gml:DefinitionType with one additional property, gml:domainOfValidity. + + + + + + + + + + + + + + A temporal coordinate system shall be based on a continuous interval scale defined in terms of a single time interval. +The differences to ISO 19108 TM_CoordinateSystem are: +- the origin is specified either using the property gml:originPosition whose value is a direct time position, or using the property gml:origin whose model is gml:TimeInstantPropertyType; this permits more flexibility in representation and also supports referring to a value fixed elsewhere; +- the interval uses gml:TimeIntervalLengthType. + + + + + + + + + + + + + + + + + + + A calendar is a discrete temporal reference system that provides a basis for defining temporal position to a resolution of one day. +gml:TimeCalendar adds one property to those inherited from gml:TimeReferenceSystem. A gml:referenceFrame provides a link to a gml:TimeCalendarEra that it uses. A gml:TimeCalendar may reference more than one calendar era. +The referenceFrame element follows the standard GML property model, allowing the association to be instantiated either using an inline description using the gml:TimeCalendarEra element, or a link to a gml:TimeCalendarEra which is explicit elsewhere. + + + + + + + + + + + + + + gml:TimeCalendarEra inherits basic properties from gml:DefinitionType and has the following additional properties: +- gml:referenceEvent is the name or description of a mythical or historic event which fixes the position of the base scale of the calendar era. This is given as text or using a link to description held elsewhere. +- gml:referenceDate specifies the date of the referenceEvent expressed as a date in the given calendar. In most calendars, this date is the origin (i.e., the first day) of the scale, but this is not always true. +- gml:julianReference specifies the Julian date that corresponds to the reference date. The Julian day number is an integer value; the Julian date is a decimal value that allows greater resolution. Transforming calendar dates to and from Julian dates provides a relatively simple basis for transforming dates from one calendar to another. +- gml:epochOfUse is the period for which the calendar era was used as a basis for dating. + + + + + + + + + + + + + + + + + gml:TimeCalendarPropertyType provides for associating a gml:TimeCalendar with an object. + + + + + + + + + + gml:TimeCalendarEraPropertyType provides for associating a gml:TimeCalendarEra with an object. + + + + + + + + + + A clock provides a basis for defining temporal position within a day. A clock shall be used with a calendar in order to provide a complete description of a temporal position within a specific day. +gml:TimeClock adds the following properties to those inherited from gml:TimeReferenceSystemType: +- gml:referenceEvent is the name or description of an event, such as solar noon or sunrise, which fixes the position of the base scale of the clock. +- gml:referenceTime specifies the time of day associated with the reference event expressed as a time of day in the given clock. The reference time is usually the origin of the clock scale. +- gml:utcReference specifies the 24 hour local or UTC time that corresponds to the reference time. +- gml:dateBasis contains or references the calendars that use this clock. + + + + + + + + + + + + + + + + + gml:TimeClockPropertyType provides for associating a gml:TimeClock with an object. + + + + + + + + + + In some applications of geographic information — such as geology and archaeology — relative position in time is known more precisely than absolute time or duration. The order of events in time can be well established, but the magnitude of the intervals between them cannot be accurately determined; in such cases, the use of an ordinal temporal reference system is appropriate. An ordinal temporal reference system is composed of a sequence of named coterminous eras, which may in turn be composed of sequences of member eras at a finer scale, giving the whole a hierarchical structure of eras of verying resolution. +An ordinal temporal reference system whose component eras are not further subdivided is effectively a temporal topological complex constrained to be a linear graph. An ordinal temporal reference system some or all of whose component eras are subdivided is effectively a temporal topological complex with the constraint that parallel branches may only be constructed in pairs where one is a single temporal ordinal era and the other is a sequence of temporal ordinal eras that are called "members" of the "group". This constraint means that within a single temporal ordinal reference system, the relative position of all temporal ordinal eras is unambiguous. +The positions of the beginning and end of a given era may calibrate the relative time scale. +gml:TimeOrdinalReferenceSystem adds one or more gml:component properties to the generic temporal reference system model. + + + + + + + + + + + + + + Its content model follows the pattern of gml:TimeEdge, inheriting standard properties from gml:DefinitionType, and adding gml:start, gml:end and gml:extent properties, a set of gml:member properties which indicate ordered gml:TimeOrdinalEra elements, and a gml:group property which points to the parent era. +The recursive inclusion of gml:TimeOrdinalEra elements allow the construction of an arbitrary depth hierarchical ordinal reference schema, such that an ordinal era at a given level of the hierarchy includes a sequence of shorter, coterminous ordinal eras. + + + + + + + + + + + + + + + + + + + gml:TimeOrdinalEraPropertyType provides for associating a gml:TimeOrdinalEra with an object. + + + + + + + + diff --git a/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/gml/3.2.1/temporalTopology.xsd b/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/gml/3.2.1/temporalTopology.xsd new file mode 100644 index 00000000..4757d08e --- /dev/null +++ b/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/gml/3.2.1/temporalTopology.xsd @@ -0,0 +1,119 @@ + + + + temporalTopology.xsd + See ISO/DIS 19136 15.3. +Temporal topology is described in terms of time complexes, nodes, and edges, and the connectivity between these. Temporal topology does not directly provide information about temporal position. It is used in the case of describing a lineage or a history (e.g. a family tree expressing evolution of species, an ecological cycle, a lineage of lands or buildings, or a history of separation and merger of administrative boundaries). The following Subclauses specifies the temporal topology as temporal characteristics of features in compliance with ISO 19108. + +GML is an OGC Standard. +Copyright (c) 2007, 2010, 2016, 2018 Open Geospatial Consortium. +To obtain additional rights of use, visit http://www.opengeospatial.org/legal/ . + + + + + + + gml:TimeTopologyPrimitive acts as the head of a substitution group for topological temporal primitives. +Temporal topology primitives shall imply the ordering information between features or feature properties. The temporal connection of features can be examined if they have temporal topology primitives as values of their properties. Usually, an instantaneous feature associates with a time node, and a static feature associates with a time edge. A feature with both modes associates with the temporal topology primitive: a supertype of time nodes and time edges. +A topological primitive is always connected to one or more other topological primitives, and is, therefore, always a member of a topological complex. In a GML instance, this will often be indicated by the primitives being described by elements that are descendents of an element describing a complex. However, in order to support the case where a temporal topological primitive is described in another context, the optional complex property is provided, which carries a reference to the parent temporal topological complex. + + + + + + + + + + + + + + gml:TimeTopologyPrimitivePropertyType provides for associating a gml:AbstractTimeTopologyPrimitive with an object. + + + + + + + + + + A temporal topology complex shall be the connected acyclic directed graph composed of temporal topological primitives, i.e. time nodes and time edges. Because a time edge may not exist without two time nodes on its boundaries, static features have time edges from a temporal topology complex as the values of their temporal properties, regardless of explicit declarations. +A temporal topology complex expresses a linear or a non-linear graph. A temporal linear graph, composed of a sequence of time edges, provides a lineage described only by "substitution" of feature instances or feature element values. A time node as the start or the end of the graph connects with at least one time edge. A time node other than the start and the end shall connect to at least two time edges: one of starting from the node, and another ending at the node. +A temporal topological complex is a set of connected temporal topological primitives. The member primtives are indicated, either by reference or by value, using the primitive property. + + + + + + + + + + + + + + gml:TimeTopologyComplexPropertyType provides for associating a gml:TimeTopologyComplex with an object. + + + + + + + + + + A time node is a zero-dimensional topological primitive that represents an identifiable node in time (it is equivalent to a point in space). A node may act as the termination or initiation of any number of time edges. A time node may be realised as a geometry, its position, whose value is a time instant. + + + + + + + + + + + + + + + + gml:TimeNodePropertyType provides for associating a gml:TimeNode with an object + + + + + + + + + + A time edge is a one-dimensional topological primitive. It is an open interval that starts and ends at a node. The edge may be realised as a geometry whose value is a time period. + + + + + + + + + + + + + + + + gml:TimeEdgePropertyType provides for associating a gml:TimeEdge with an object. + + + + + + + + diff --git a/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/gml/3.2.1/topology.xsd b/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/gml/3.2.1/topology.xsd new file mode 100644 index 00000000..7cca7410 --- /dev/null +++ b/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/gml/3.2.1/topology.xsd @@ -0,0 +1,386 @@ + + + + topology.xsd + See ISO/DIS 19136 Clause 14. +Topology is the branch of mathematics describing the properties of objects which are invariant under continuous deformation. For example, a circle is topologically equivalent to an ellipse because one can be transformed into the other by stretching. In geographic modelling, the foremost use of topology is in accelerating computational geometry. The constructs of topology allow characterisation of the spatial relationships between objects using simple combinatorial or algebraic algorithms. Topology, realised by the appropriate geometry, also allows a compact and unambiguous mechanism for expressing shared geometry among geographic features. +There are four instantiable classes of primitive topology objects, one for each dimension up to 3D. In addition, topological complexes are supported, too. +There is strong symmetry in the (topological boundary and coboundary) relationships between topology primitives of adjacent dimensions. Topology primitives are bounded by directed primitives of one lower dimension. The coboundary of each topology primitive is formed from directed topology primitives of one higher dimension. + +GML is an OGC Standard. +Copyright (c) 2007, 2010, 2016, 2018 Open Geospatial Consortium. +To obtain additional rights of use, visit http://www.opengeospatial.org/legal/ . + + + + + + + This abstract type supplies the root or base type for all topological elements including primitives and complexes. It inherits AbstractGMLType and hence can be identified using the gml:id attribute. + + + + + + + + + + + + + + gml:AbstractTopoPrimitive acts as the base type for all topological primitives. Topology primitives are the atomic (smallest possible) units of a topology complex. +Each topology primitive may contain references to other topology primitives of codimension 2 or more (gml:isolated). Conversely, nodes may have faces as containers and nodes and edges may have solids as containers (gml:container). + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + In the case of planar topology, a gml:Node must have a clockwise sequence of gml:directedEdge properties, to ensure a lossless topology representation as defined by Kuijpers, et. al. (see OGC 05-102 Topology IPR). + + + + + + + + + + + gml:Node represents the 0-dimensional primitive. +The optional coboundary of a node (gml:directedEdge) is a sequence of directed edges which are incident on this node. Edges emanating from this node appear in the node coboundary with a negative orientation. +If provided, the aggregationType attribute shall have the value "sequence". +A node may optionally be realised by a 0-dimensional geometric primitive (gml:pointProperty). + + + + + A gml:directedNode property element describes the boundary of topology edges and is used in the support of topological point features via the gml:TopoPoint expression, see below. The orientation attribute of type gml:SignType expresses the sense in which the included node is used: start ("-") or end ("+") node. + + + + + + + + + + + + + + + + + + + + + + + + + + gml:Edge represents the 1-dimensional primitive. +The topological boundary of an Edge (gml:directedNode) consists of a negatively directed start Node and a positively directed end Node. +The optional coboundary of an edge (gml:directedFace) is a circular sequence of directed faces which are incident on this edge in document order. In the 2D case, the orientation of the face on the left of the edge is "+"; the orientation of the face on the right on its right is "-". +If provided, the aggregationType attribute shall have the value "sequence". +An edge may optionally be realised by a 1-dimensional geometric primitive (gml:curveProperty). + + + + + A gml:directedEdge property element describes the boundary of topology faces, the coBoundary of topology nodes and is used in the support of topological line features via the gml:TopoCurve expression, see below. The orientation attribute of type gml:SignType expresses the sense in which the included edge is used, i.e. forward or reverse. + + + + + + + + + + + + + + + + + + + + + + + If the topological representation exists an unbounded manifold (e.g. Euclidean plane), a gml:Face must indicate whether it is a universal face or not, to ensure a lossless topology representation as defined by Kuijpers, et. al. (see OGC 05-102 Topology IPR). The optional universal attribute of type boolean is used to indicate this. NOTE The universal face is normally not part of any feature, and is used to represent the unbounded portion of the data set. Its interior boundary (it has no exterior boundary) would normally be considered the exterior boundary of the map represented by the data set. + + + + + + + + gml:Face represents the 2-dimensional topology primitive. +The topological boundary of a face (gml:directedEdge) consists of a sequence of directed edges. If provided, the aggregationType attribute shall have the value "sequence". +The optional coboundary of a face (gml:directedTopoSolid) is a pair of directed solids which are bounded by this face. A positively directed solid corresponds to a solid which lies in the direction of the negatively directed normal to the face in any geometric realisation. +A face may optionally be realised by a 2-dimensional geometric primitive (gml:surfaceProperty). + + + + + The gml:directedFace property element describes the boundary of topology solids, in the coBoundary of topology edges and is used in the support of surface features via the gml:TopoSurface expression, see below. The orientation attribute of type gml:SignType expresses the sense in which the included face is used i.e. inward or outward with respect to the surface normal in any geometric realisation. + + + + + + + + + + + + + + + + + + + + + + A gml:TopoSolid must indicate whether it is a universal topo-solid or not, to ensure a lossless topology representation as defined by Kuijpers, et. al. (see OGC 05-102 Topology IPR). The optional universal attribute of type boolean is used to indicate this and the default is fault. NOTE The universal topo-solid is normally not part of any feature, and is used to represent the unbounded portion of the data set. Its interior boundary (it has no exterior boundary) would normally be considered the exterior boundary of the data set. + + + + + + + + gml:TopoSolid represents the 3-dimensional topology primitive. +The topological boundary of a solid (gml:directedFace) consists of a set of directed faces. +A solid may optionally be realised by a 3-dimensional geometric primitive (gml:solidProperty). + + + + + The gml:directedSolid property element describes the coBoundary of topology faces and is used in the support of volume features via the gml:TopoVolume expression, see below. The orientation attribute of type gml:SignType expresses the sense in which the included solid appears in the face coboundary. In the context of a gml:TopoVolume the orientation attribute has no meaning. + + + + + + + + + + + + + + + + + + + + + + The intended use of gml:TopoPoint is to appear within a point feature to express the structural and possibly geometric relationships of this feature to other features via shared node definitions. + + + + + + + + + + + The gml:topoPointProperty property element may be used in features to express their relationship to the referenced topology node. + + + + + + + + + + + + + + + gml:TopoCurve represents a homogeneous topological expression, a sequence of directed edges, which if realised are isomorphic to a geometric curve primitive. The intended use of gml:TopoCurve is to appear within a line feature to express the structural and geometric relationships of this feature to other features via the shared edge definitions. +If provided, the aggregationType attribute shall have the value "sequence". + + + + + + + + + + + The gml:topoCurveProperty property element may be used in features to express their relationship to the referenced topology edges. + + + + + + + + + + + + + + + gml:TopoSurface represents a homogeneous topological expression, a set of directed faces, which if realised are isomorphic to a geometric surface primitive. The intended use of gml:TopoSurface is to appear within a surface feature to express the structural and possibly geometric relationships of this surface feature to other features via the shared face definitions. + + + + + + + + + + + The gml:topoSurfaceProperty property element may be used in features to express their relationship to the referenced topology faces. + + + + + + + + + + + + + + + gml:TopoVolume represents a homogeneous topological expression, a set of directed topologic solids, which if realised are isomorphic to a geometric solid primitive. The intended use of gml:TopoVolume is to appear within a solid feature to express the structural and geometric relationships of this solid feature to other features via the shared solid definitions. + + + + + + + + + + + The gml:topoVolumeProperty element may be used in features to express their relationship to the referenced topology volume. + + + + + + + + + + + + + + + + + + + + gml:TopoComplex is a collection of topological primitives. +Each complex holds a reference to its maximal complex (gml:maximalComplex) and optionally to sub- or super-complexes (gml:subComplex, gml:superComplex). +A topology complex contains its primitive and sub-complex members. + + + + + + The property elements gml:subComplex, gml:superComplex and gml:maximalComplex provide an encoding for relationships between topology complexes as described for gml:TopoComplex above. + + + + + The property elements gml:subComplex, gml:superComplex and gml:maximalComplex provide an encoding for relationships between topology complexes as described for gml:TopoComplex above. + + + + + The property elements gml:subComplex, gml:superComplex and gml:maximalComplex provide an encoding for relationships between topology complexes as described for gml:TopoComplex above. + + + + + The gml:topoPrimitiveMember property element encodes for the relationship between a topology complex and a single topology primitive. + + + + + + + + + + + + The gml:topoPrimitiveMembers property element encodes the relationship between a topology complex and an arbitrary number of topology primitives. + + + + + + + + + + + + + + + diff --git a/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/gml/3.2.1/units.xsd b/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/gml/3.2.1/units.xsd new file mode 100644 index 00000000..f2506ab8 --- /dev/null +++ b/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/gml/3.2.1/units.xsd @@ -0,0 +1,162 @@ + + + + units.xsd + See ISO/DIS 17.2. +Several GML Schema components concern or require a reference scale or units of measure. Units are required for quantities that may occur as values of properties of feature types, as the results of observations, in the range parameters of a coverage, and for measures used in Coordinate Reference System definitions. +The basic unit definition is an extension of the general gml:Definition element defined in 16.2.1. Three specialized elements for unit definition are further derived from this. +This model is based on the SI system of units [ISO 1000], which distinguishes between Base Units and Derived Units. +- Base Units are the preferred units for a set of orthogonal fundamental quantities which define the particular system of units, which may not be derived by combination of other base units. +- Derived Units are the preferred units for other quantities in the system, which may be defined by algebraic combination of the base units. +In some application areas Conventional units are used, which may be converted to the preferred units using a scaling factor or a formula which defines a re-scaling and offset. The set of preferred units for all physical quantity types in a particular system of units is composed of the union of its base units and derived units. +Unit definitions are substitutable for the gml:Definition element declared as part of the dictionary model. A dictionary that contains only unit definitions and references to unit definitions is a units dictionary. + +GML is an OGC Standard. +Copyright (c) 2007, 2010, 2016, 2018 Open Geospatial Consortium. +To obtain additional rights of use, visit http://www.opengeospatial.org/legal/ . + + + + + + + The element gml:unitOfMeasure is a property element to refer to a unit of measure. This is an empty element which carries a reference to a unit of measure definition. + + + + + + + + + A gml:UnitDefinition is a general definition of a unit of measure. This generic element is used only for units for which no relationship with other units or units systems is known. +The content model of gml:UnitDefinition adds three additional properties to gml:Definition, gml:quantityType, gml:quantityTypeReference and gml:catalogSymbol. +The gml:catalogSymbol property optionally gives the short symbol used for this unit. This element is usually used when the relationship of this unit to other units or units systems is unknown. + + + + + + + + + + + + + + + + The gml:quantityType property indicates the phenomenon to which the units apply. This element contains an informal description of the phenomenon or type of physical quantity that is measured or observed. When the physical quantity is the result of an observation or measurement, this term is known as observable type or measurand. +The use of gml:quantityType for references to remote values is deprecated. + + + + + The gml:quantityTypeReference property indicates the phenomenon to which the units apply. The content is a reference to a remote value. + + + + + The catalogSymbol is the preferred lexical symbol used for this unit of measure. +The codeSpace attribute in gml:CodeType identifies a namespace for the catalog symbol value, and might reference the external catalog. The string value in gml:CodeType contains the value of a symbol that should be unique within this catalog namespace. This symbol often appears explicitly in the catalog, but it could be a combination of symbols using a specified algebra of units. + + + + + A base unit is a unit of measure that cannot be derived by combination of other base units within a particular system of units. For example, in the SI system of units, the base units are metre, kilogram, second, Ampere, Kelvin, mole, and candela, for the physical quantity types length, mass, time interval, electric current, thermodynamic temperature, amount of substance and luminous intensity, respectively. +gml:BaseUnit extends generic gml:UnitDefinition with the property gml:unitsSystem, which carries a reference to the units system to which this base unit is asserted to belong. + + + + + + + + + + + + + + Derived units are defined by combination of other units. Derived units are used for quantities other than those corresponding to the base units, such as hertz (s-1) for frequency, Newton (kg.m/s2) for force. Derived units based directly on base units are usually preferred for quantities other than the fundamental quantities within a system. If a derived unit is not the preferred unit, the gml:ConventionalUnit element should be used instead. +The gml:DerivedUnit extends gml:UnitDefinition with the property gml:derivationUnitTerms. + + + + + + + + + + + + + + A set of gml:derivationUnitTerm elements describes a derived unit of measure. Each element carries an integer exponent. The terms are combined by raising each referenced unit to the power of its exponent and forming the product. +This unit term references another unit of measure (uom) and provides an integer exponent applied to that unit in defining the compound unit. The exponent may be positive or negative, but not zero. + + + + + + + + + + + + Conventional units that are neither base units nor defined by direct combination of base units are used in many application domains. For example electronVolt for energy, feet and nautical miles for length. In most cases there is a known, usually linear, conversion to a preferred unit which is either a base unit or derived by direct combination of base units. +The gml:ConventionalUnit extends gml:UnitDefinition with a property that describes a conversion to a preferred unit for this physical quantity. When the conversion is exact, the element gml:conversionToPreferredUnit should be used, or when the conversion is not exact the element gml:roughConversionToPreferredUnit is available. Both of these elements have the same content model. The gml:derivationUnitTerm property defined above is included to allow a user to optionally record how this unit may be derived from other ("more primitive") units. + + + + + + + + + + + + + + + + + + The elements gml:conversionToPreferredUnit and gml:roughConversionToPreferredUnit represent parameters used to convert conventional units to preferred units for this physical quantity type. A preferred unit is either a Base Unit or a Derived Unit that is selected for all values of one physical quantity type. + + + + + The elements gml:conversionToPreferredUnit and gml:roughConversionToPreferredUnit represent parameters used to convert conventional units to preferred units for this physical quantity type. A preferred unit is either a Base Unit or a Derived Unit that is selected for all values of one physical quantity type. + + + + + The inherited attribute uom references the preferred unit that this conversion applies to. The conversion of a unit to the preferred unit for this physical quantity type is specified by an arithmetic conversion (scaling and/or offset). The content model extends gml:UnitOfMeasureType, which has a mandatory attribute uom which identifies the preferred unit for the physical quantity type that this conversion applies to. The conversion is specified by a choice of +- gml:factor, which defines the scale factor, or +- gml:formula, which defines a formula +by which a value using the conventional unit of measure can be converted to obtain the corresponding value using the preferred unit of measure. +The formula defines the parameters of a simple formula by which a value using the conventional unit of measure can be converted to the corresponding value using the preferred unit of measure. The formula element contains elements a, b, c and d, whose values use the XML Schema type double. These values are used in the formula y = (a + bx) / (c + dx), where x is a value using this unit, and y is the corresponding value using the base unit. The elements a and d are optional, and if values are not provided, those parameters are considered to be zero. If values are not provided for both a and d, the formula is equivalent to a fraction with numerator and denominator parameters. + + + + + + + + + + + + + + + + + + + diff --git a/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/gml/3.2.1/valueObjects.xsd b/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/gml/3.2.1/valueObjects.xsd new file mode 100644 index 00000000..80539319 --- /dev/null +++ b/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/gml/3.2.1/valueObjects.xsd @@ -0,0 +1,205 @@ + + + + valueObjects.xsd + See ISO/DIS 19136 17.5. +The elements declared in this Clause build on other GML schema components, in particular gml:AbstractTimeObject, gml:AbstractGeometry, and the following types: gml:MeasureType, gml:MeasureListType, gml:CodeType, gml:CodeOrNilReasonListType, gml:BooleanOrNilReasonListType, gml:IntegerOrNilReasonList. +Of particular interest are elements that are the heads of substitution groups, and one named choice group. These are the primary reasons for the value objects schema, since they may act as variables in the definition of content models, such as Observations, when it is desired to permit alternative value types to occur some of which may have complex content such as arrays, geometry and time objects, and where it is useful not to prescribe the actual value type in advance. The members of the groups include quantities, category classifications, boolean, count, temporal and spatial values, and aggregates of these. +The value objects are defined in a hierarchy. The following relationships are defined: +- Concrete elements gml:Quantity, gml:Category, gml:Count and gml:Boolean are substitutable for the abstract element gml:AbstractScalarValue. +- Concrete elements gml:QuantityList, gml:CategoryList, gml:CountList and gml:BooleanList are substitutable for the abstract element gml:AbstractScalarValueList. +- Concrete element gml:ValueArray is substitutable for the concrete element gml:CompositeValue. +- Abstract elements gml:AbstractScalarValue and gml:AbstractScalarValueList, and concrete elements gml:CompositeValue, gml:ValueExtent, gml:CategoryExtent, gml:CountExtent and gml:QuantityExtent are substitutable for abstract element gml:AbstractValue. +- Abstract elements gml:AbstractValue, gml:AbstractTimeObject and gml:AbstractGeometry are all in a choice group named gml:Value, which is used for compositing in gml:CompositeValue and gml:ValueExtent. +- Schemas which need values may use the abstract element gml:AbstractValue in a content model in order to permit any of the gml:AbstractScalarValues, gml:AbstractScalarValueLists, gml:CompositeValue or gml:ValueExtent to occur in an instance, or the named group gml:Value to also permit gml:AbstractTimeObjects, gml:AbstractGeometrys. + +GML is an OGC Standard. +Copyright (c) 2007, 2010, 2016, 2018 Open Geospatial Consortium. +To obtain additional rights of use, visit http://www.opengeospatial.org/legal/ . + + + + + + + + + + + + + + + + + + A gml:Category has an optional XML attribute codeSpace, whose value is a URI which identifies a dictionary, codelist or authority for the term. + + + + + + + + + + + + + + + + + + + + + + + An XML attribute uom ("unit of measure") is required, whose value is a URI which identifies the definition of a ratio scale or units by which the numeric value shall be multiplied, or an interval or position scale on which the value occurs. + + + + + + + + + + + + + gml:AbstractValue is an abstract element which acts as the head of a substitution group which contains gml:AbstractScalarValue, gml:AbstractScalarValueList, gml:CompositeValue and gml:ValueExtent, and (transitively) the elements in their substitution groups. +These elements may be used in an application schema as variables, so that in an XML instance document any member of its substitution group may occur. + + + + + gml:AbstractScalarValue is an abstract element which acts as the head of a substitution group which contains gml:Boolean, gml:Category, gml:Count and gml:Quantity, and (transitively) the elements in their substitution groups. + + + + + gml:AbstractScalarValueList is an abstract element which acts as the head of a substitution group which contains gml:BooleanList, gml:CategoryList, gml:CountList and gml:QuantityList, and (transitively) the elements in their substitution groups. + + + + + This is a convenience choice group which unifies generic values defined in this Clause with spatial and temporal objects and the measures described above, so that any of these may be used within aggregate values. + + + + + + + + + + + Property that refers to, or contains, a Value. Convenience element for general use. + + + + + Property that refers to, or contains, a Value. + + + + + + + + + + + + Property that contains Values. + + + + + + + + + + + gml:CompositeValue is an aggregate value built from other values . It contains zero or an arbitrary number of gml:valueComponent elements, and zero or one gml:valueComponents property elements. It may be used for strongly coupled aggregates (vectors, tensors) or for arbitrary collections of values. + + + + + + + + + + + + + + + + A Value Array is used for homogeneous arrays of primitive and aggregate values. +The member values may be scalars, composites, arrays or lists. +ValueArray has the same content model as CompositeValue, but the member values shall be homogeneous. The element declaration contains a Schematron constraint which expresses this restriction precisely. Since the members are homogeneous, the gml:referenceSystem (uom, codeSpace) may be specified on the gml:ValueArray itself and inherited by all the members if desired. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/iso/19139/20070417/ReadMe.txt b/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/iso/19139/20070417/ReadMe.txt new file mode 100644 index 00000000..aa1523c4 --- /dev/null +++ b/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/iso/19139/20070417/ReadMe.txt @@ -0,0 +1,28 @@ +ISO(c) ReadMe.txt +------------------------------------------------------------------------------ + +Geographic Information - Metadata - XML Schema Implementation + +This XML Schema implementation is composed of the following namespaces: +- Geographic Common (GCO) extensible markup language + (http://www.isotc211.org/2005/gco) +- Geographic MetaData (GMD) extensible markup language + (http://www.isotc211.org/2005/gmd) +- Geographic Metadata XML (GMX) Schema (http://www.isotc211.org/2005/gmx) +- Geographic Spatial Schema (GSS) extensible markup language + (http://www.isotc211.org/2005/gss) +- Geographic Spatial Referencing (GSR) extensible markup language + (http://www.isotc211.org/2005/gsr) +- Geographic Temporal Schema (GTS) extensible markup language + (http://www.isotc211.org/2005/gts) +- Geographic Geographic information -- Services (SRV) + (http://www.opengis.net/iso/19139/20070417/srv/1.0) + +The most current schemas are available at: +http://standards.iso.org/ittf/PubliclyAvailableStandards/ISO_19139_Schemas/ + +XML resources related to those namespaces are also provided at this location. + +------------------------------------------------------------------------------- + +See X\ReadMe.txt for details of lineage and modification of the package X diff --git a/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/iso/19139/20070417/gco/ReadMe.txt b/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/iso/19139/20070417/gco/ReadMe.txt new file mode 100644 index 00000000..db0b4ed9 --- /dev/null +++ b/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/iso/19139/20070417/gco/ReadMe.txt @@ -0,0 +1,47 @@ +ISO(c) GCO schema ReadMe.txt +------------------------------------------------------------------------------ + +Geographic COmmon (GCO) extensible markup language + +GCO is a component of the XML Schema Implementation of Geographic +Information Metadata documented in ISO/TS 19139:2007. + +GCO includes all the definitions of http://www.isotc211.org/2005/gco +namespace. The root document of this namespace is the file gco.xsd. + +The most current schemas are available at: +http://standards.iso.org/ittf/PubliclyAvailableStandards/ISO_19139_Schemas/ + +------------------------------------------------------------------------------- + +2012-07-13 Nicolas Lesage on behalf of the ISO/TC 211 XML Maintenance Group + * Update of readme.txt file and schema annotations + * Use of absolute schema locations of imported namespaces + * Simplification of the schema location of included XML Schemas + * Adoption of W3C Implementation of XLink: + - schemaLocation changed to: http://www.w3.org/1999/xlink.xsd + - xlink:simpleLink renamed xlink:simpleAttrs + * Addition of the version attribute to the schema element. The value of + this attribute is expected to be the date of the last release of the + XML schemas (e.g. 2012-07-13 for this release) + * Include root XML Schema document in all schema documents + + Validation: Schemas have been validated with XML Spy 2010 Rel. 2 (MSXML 6.0) + +2009-03-16 Marcellin Prudham & Nicolas Lesage + * Change of GML namespace: http://www.opengis.net/gml (GML 3.2) => + http://www.opengis.net/gml/3.2 (GML 3.2.1=ISO 19136) + + Note: ISO/TS 19139:2007 (published 2007-04-17) normatively reference + ISO 19136 which was published 2007-08-23. The major change applied to + ISO 19136 is the change of the namespace URI. Previous release of GCO + are not compliant with ISO/TS 19139:2007 + + Validation: Schemas have been validated with XSV 2.10, Xerces J 2.7.1 and + XML Spy 2009 (2009-03-02, IGN / France - Nicolas Lesage / Marcellin Prudham) + +2006-05-04 Marie-Pierre Escher & Nicolas Lesage + * First official release of GCO + * GCO XML Schema files were generated from ISO/TC 211 UML class diagrams + in accordance with ISO/TS 19139:2007. The XML Schema generator is a + Rational Rose Plug-in developed by IGN France (nicolas.lesage@ign.fr). diff --git a/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/iso/19139/20070417/gco/basicTypes.xsd b/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/iso/19139/20070417/gco/basicTypes.xsd new file mode 100644 index 00000000..ed990ebc --- /dev/null +++ b/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/iso/19139/20070417/gco/basicTypes.xsd @@ -0,0 +1,431 @@ + + + + + Geographic COmmon (GCO) extensible markup language is a component of the XML Schema Implementation of Geographic +Information Metadata documented in ISO/TS 19139:2007. GCO includes all the definitions of http://www.isotc211.org/2005/gco namespace. The root document of this namespace is the file gco.xsd. This basicTypes.xsd schema implements concepts from the "basic types" package of ISO/TS 19103. + + + + + + + + + + + + + A TypeName is a LocalName that references either a recordType or object type in some form of schema. The stored value "aName" is the returned value for the "aName()" operation. This is the types name. - For parsing from types (or objects) the parsible name normally uses a "." navigation separator, so that it is of the form [class].[member].[memberOfMember]. ...) + + + + + + + + + + + + + + + + + + + + + + + A MemberName is a LocalName that references either an attribute slot in a record or recordType or an attribute, operation, or association role in an object instance or type description in some form of schema. The stored value "aName" is the returned value for the "aName()" operation. + + + + + + + + + + + + + + + + + + + + + + + + Use to represent the possible cardinality of a relation. Represented by a set of simple multiplicity ranges. + + + + + + + + + + + + + + + + + + + + + + + A component of a multiplicity, consisting of an non-negative lower bound, and a potentially infinite upper bound. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/iso/19139/20070417/gco/gco.xsd b/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/iso/19139/20070417/gco/gco.xsd new file mode 100644 index 00000000..6090d49d --- /dev/null +++ b/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/iso/19139/20070417/gco/gco.xsd @@ -0,0 +1,12 @@ + + + + + Geographic COmmon (GCO) extensible markup language is a component of the XML Schema Implementation of Geographic Information Metadata documented in ISO/TS 19139:2007. GCO includes all the definitions of http://www.isotc211.org/2005/gco namespace. The root document of this namespace is the file gco.xsd. + + + + + + + diff --git a/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/iso/19139/20070417/gco/gcoBase.xsd b/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/iso/19139/20070417/gco/gcoBase.xsd new file mode 100644 index 00000000..0cde1bb0 --- /dev/null +++ b/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/iso/19139/20070417/gco/gcoBase.xsd @@ -0,0 +1,65 @@ + + + + + Geographic COmmon (GCO) extensible markup language is a component of the XML Schema Implementation of Geographic +Information Metadata documented in ISO/TS 19139:2007. GCO includes all the definitions of http://www.isotc211.org/2005/gco namespace. The root document of this namespace is the file gco.xsd. This gcoBase.xsd schema provides: + 1. tools to handle specific objects like "code lists" and "record"; + 2. Some XML types representing that do not follow the general encoding rules. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/iso/19139/20070417/gmd/ReadMe.txt b/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/iso/19139/20070417/gmd/ReadMe.txt new file mode 100644 index 00000000..2c4c7c66 --- /dev/null +++ b/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/iso/19139/20070417/gmd/ReadMe.txt @@ -0,0 +1,45 @@ +ISO(c) GMD schema ReadMe.txt +------------------------------------------------------------------------------ + +Geographic MetaData (GMD) extensible markup language + +GMD is a component of the XML Schema Implementation of Geographic +Information Metadata documented in ISO/TS 19139:2007. + +GMD includes all the definitions of http://www.isotc211.org/2005/gmd +namespace. The root document of this namespace is the file gmd.xsd. + +The most current schemas are available at: +http://standards.iso.org/ittf/PubliclyAvailableStandards/ISO_19139_Schemas/ + +------------------------------------------------------------------------------- + +2012-07-13 Nicolas Lesage on behalf of the ISO/TC 211 XML Maintenance Group + * Update of readme.txt file and schema annotations + * Use of absolute schema locations of imported namespaces + * Simplification of the schema location of included XML Schemas + * Addition of the version attribute to the schema element. The value of + this attribute is expected to be the date of the last release of the + XML schemas (e.g. 2012-07-13 for this release) + * Include root XML Schema document in all schema documents + + Validation: Schemas have been validated with XML Spy 2010 Rel. 2 (MSXML 6.0) + +2009-03-16 Marcellin Prudham & Nicolas Lesage + * Change of GML namespace: http://www.opengis.net/gml (GML 3.2) => + http://www.opengis.net/gml/3.2 (GML 3.2.1=ISO 19136) + + Note: ISO/TS 19139:2007 (published 2007-04-17) normatively reference + ISO 19136 which was published 2007-08-23. The major change applied to + ISO 19136 is the change of the namespace URI. Previous release of GMD + are not compliant with ISO/TS 19139:2007 + + Validation: Schemas have been validated with XSV 2.10, Xerces J 2.7.1 and + XML Spy 2009 (2009-03-02, IGN / France - Nicolas Lesage / Marcellin Prudham) + +2006-05-04 Marie-Pierre Escher & Nicolas Lesage + * First official release of GMD + * GMD XML Schema files were generated from ISO/TC 211 UML class diagrams + in accordance with ISO/TS 19139:2007. The XML Schema generator is a + Rational Rose Plug-in developed by IGN France (http://www.ign.fr). + diff --git a/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/iso/19139/20070417/gmd/applicationSchema.xsd b/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/iso/19139/20070417/gmd/applicationSchema.xsd new file mode 100644 index 00000000..ba9a3cd2 --- /dev/null +++ b/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/iso/19139/20070417/gmd/applicationSchema.xsd @@ -0,0 +1,44 @@ + + + + + Geographic MetaData (GMD) extensible markup language is a component of the XML Schema Implementation of Geographic Information Metadata documented in ISO/TS 19139:2007. GMD includes all the definitions of http://www.isotc211.org/2005/gmd namespace. The root document of this namespace is the file gmd.xsd. This applicationSchema.xsd schema implements the UML conceptual schema defined in A.2.12 of ISO 19115:2003. It contains the implementation of the class MD_ApplicationSchemaInformation. + + + + + + + + + + + + Information about the application schema used to build the dataset + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/iso/19139/20070417/gmd/citation.xsd b/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/iso/19139/20070417/gmd/citation.xsd new file mode 100644 index 00000000..0f8b9a9f --- /dev/null +++ b/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/iso/19139/20070417/gmd/citation.xsd @@ -0,0 +1,277 @@ + + + + + Geographic MetaData (GMD) extensible markup language is a component of the XML Schema Implementation of Geographic Information Metadata documented in ISO/TS 19139:2007. GMD includes all the definitions of http://www.isotc211.org/2005/gmd namespace. The root document of this namespace is the file gmd.xsd. This citation.xsd schema implements the UML conceptual schema defined in A.3.2 of ISO 19115:2003. It contains the implementation of the following classes: CI_ResponsibleParty, CI_Citation, CI_Address, CI_OnlineResource, CI_Contact, CI_Telephone, URL, CI_Date, CI_Series, CI_RoleCode, CI_PresentationFormCode, CI_OnLineFunctionCode, CI_DateTypeCode. + + + + + + + + + + + + Identification of, and means of communication with, person(s) and organisations associated with the dataset + + + + + + + + + + + + + + + + + + + + + + + + + + + Standardized resource reference + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Location of the responsible individual or organisation + + + + + + + + + + + + + + + + + + + + + + + + + + + + Information about online sources from which the dataset, specification, or community profile name and extended metadata elements can be obtained. + + + + + + + + + + + + + + + + + + + + + + + + + + + + Information required enabling contact with the responsible person and/or organisation + + + + + + + + + + + + + + + + + + + + + + + + + + + Telephone numbers for contacting the responsible individual or organisation + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/iso/19139/20070417/gmd/constraints.xsd b/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/iso/19139/20070417/gmd/constraints.xsd new file mode 100644 index 00000000..e74e9d7f --- /dev/null +++ b/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/iso/19139/20070417/gmd/constraints.xsd @@ -0,0 +1,108 @@ + + + + + Geographic MetaData (GMD) extensible markup language is a component of the XML Schema Implementation of Geographic Information Metadata documented in ISO/TS 19139:2007. GMD includes all the definitions of http://www.isotc211.org/2005/gmd namespace. The root document of this namespace is the file gmd.xsd. This constraints.xsd schema implements the UML conceptual schema defined in A.2.3 of ISO 19115:2003. It contains the implementation of the following classes: MD_Constraints, MD_LegalConstraints, MD_SecurityConstraints, MD_ClassificationCode, MD_RestrictionCode. + + + + + + + + + + + Restrictions on the access and use of a dataset or metadata + + + + + + + + + + + + + + + + + + + + + + + Restrictions and legal prerequisites for accessing and using the dataset. + + + + + + + + + + + + + + + + + + + + + + + + + Handling restrictions imposed on the dataset because of national security, privacy, or other concerns + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/iso/19139/20070417/gmd/content.xsd b/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/iso/19139/20070417/gmd/content.xsd new file mode 100644 index 00000000..9cc89cbb --- /dev/null +++ b/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/iso/19139/20070417/gmd/content.xsd @@ -0,0 +1,190 @@ + + + + + Geographic MetaData (GMD) extensible markup language is a component of the XML Schema Implementation of Geographic Information Metadata documented in ISO/TS 19139:2007. GMD includes all the definitions of http://www.isotc211.org/2005/gmd namespace. The root document of this namespace is the file gmd.xsd. This content.xsd schema implements the UML conceptual schema defined in ISO 19115:2003, A.2.8. It contains the implementation of the following classes: MD_FeatureCatalogueDescription, MD_CoverageDescription, +MD_ImageDescription, MD_ContentInformation, MD_RangeDimension, MD_Band, MD_CoverageContentTypeCode, MD_ImagingConditionCode. + + + + + + + + + + + Information identifing the feature catalogue + + + + + + + + + + + + + + + + + + + + + + + + + + + Information about the domain of the raster cell + + + + + + + + + + + + + + + + + + + + + + + + + Information about an image's suitability for use + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Set of adjacent wavelengths in the electro-magnetic spectrum with a common characteristic, such as the visible band + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/iso/19139/20070417/gmd/dataQuality.xsd b/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/iso/19139/20070417/gmd/dataQuality.xsd new file mode 100644 index 00000000..5736def6 --- /dev/null +++ b/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/iso/19139/20070417/gmd/dataQuality.xsd @@ -0,0 +1,556 @@ + + + + + Geographic MetaData (GMD) extensible markup language is a component of the XML Schema Implementation of Geographic Information Metadata documented in ISO/TS 19139:2007. GMD includes all the definitions of http://www.isotc211.org/2005/gmd namespace. The root document of this namespace is the file gmd.xsd. This dataQuality.xsd schema implements the UML conceptual schema defined in A.2.4 of ISO 19115:2003. It contains the implementation of the following classes: LI_ProcessStep, LI_Source, LI_Lineage, +DQ_ConformanceResult, DQ_QuantitativeResult, DQ_Result, DQ_TemporalValidity, DQ_AccuracyOfATimeMeasurement, DQ_QuantitativeAttributeAccuracy, DQ_NonQuantitativeAttributeAccuracy, DQ_ThematicClassificationCorrectness, DQ_RelativeInternalPositionalAccuracy, DQ_GriddedDataPositionalAccuracy, DQ_AbsoluteExternalPositionalAccuracy, DQ_TopologicalConsistency, DQ_FormatConsistency, DQ_DomainConsistency, DQ_ConceptualConsistency, DQ_CompletenessOmission, DQ_CompletenessCommission, DQ_TemporalAccuracy, DQ_ThematicAccuracy, DQ_PositionalAccuracy, DQ_LogicalConsistency, DQ_Completeness, DQ_Element, DQ_DataQuality. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + quantitative_result from Quality Procedures - - renamed to remove implied use limitiation. + + + + + + + + + + + + + + + + + + + + + + + + + Quantitative_conformance_measure from Quality Procedures. - - Renamed to remove implied use limitation - - OCL - -- result is type specified by valueDomain - result.tupleType = valueDomain + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/iso/19139/20070417/gmd/distribution.xsd b/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/iso/19139/20070417/gmd/distribution.xsd new file mode 100644 index 00000000..b7205154 --- /dev/null +++ b/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/iso/19139/20070417/gmd/distribution.xsd @@ -0,0 +1,203 @@ + + + + + Geographic MetaData (GMD) extensible markup language is a component of the XML Schema Implementation of Geographic Information Metadata documented in ISO/TS 19139:2007. GMD includes all the definitions of http://www.isotc211.org/2005/gmd namespace. The root document of this namespace is the file gmd.xsd. This distribution.xsd schema implements the UML conceptual schema defined in A.2.10 of ISO 19115:2003. It contains the implementation of the following classes: MD_Medium, MD_DigitalTransferOptions, MD_StandardOrderProcess, MD_Distributor, MD_Distribution, MD_Format, MD_MediumFormatCode, MD_MediumNameCode. + + + + + + + + + + + Information about the media on which the data can be distributed + + + + + + + + + + + + + + + + + + + + + + + + + + + + Technical means and media by which a dataset is obtained from the distributor + + + + + + + + + + + + + + + + + + + + + + + + + + Common ways in which the dataset may be obtained or received, and related instructions and fee information + + + + + + + + + + + + + + + + + + + + + + + + + + Information about the distributor + + + + + + + + + + + + + + + + + + + + + + + + + + Information about the distributor of and options for obtaining the dataset + + + + + + + + + + + + + + + + + + + + + + + + + Description of the form of the data to be distributed + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/iso/19139/20070417/gmd/extent.xsd b/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/iso/19139/20070417/gmd/extent.xsd new file mode 100644 index 00000000..a9bfb18b --- /dev/null +++ b/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/iso/19139/20070417/gmd/extent.xsd @@ -0,0 +1,210 @@ + + + + + Geographic MetaData (GMD) extensible markup language is a component of the XML Schema Implementation of Geographic Information Metadata documented in ISO/TS 19139:2007. GMD includes all the definitions of http://www.isotc211.org/2005/gmd namespace. The root document of this namespace is the file gmd.xsd. This extent.xsd schema implements the UML conceptual schema defined in A.3.1 of ISO 19115:2003 and the associated corrigendum. It contains the implementation of the following classes: EX_TemporalExtent, EX_VerticalExtent, EX_BoundingPolygon, EX_Extent, EX_GeographicExtent, EX_GeographicBoundingBox, EX_SpatialTemporalExtent, EX_GeographicDescription. + + + + + + + + + + + + + + + + + + Time period covered by the content of the dataset + + + + + + + + + + + + + + + + + + + + + + + Vertical domain of dataset + + + + + + + + + + + + + + + + + + + + + + + + + Boundary enclosing the dataset expressed as the closed set of (x,y) coordinates of the polygon (last point replicates first point) + + + + + + + + + + + + + + + + + + + + + + + Information about spatial, vertical, and temporal extent + + + + + + + + + + + + + + + + + + + + + + + + + + Geographic area of the dataset + + + + + + + + + + + + + + + + + + + + + + + Geographic area of the entire dataset referenced to WGS 84 + + + + + + + + + + + + + + + + + + + + + + + + + + Extent with respect to date and time + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/iso/19139/20070417/gmd/freeText.xsd b/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/iso/19139/20070417/gmd/freeText.xsd new file mode 100644 index 00000000..05d000dd --- /dev/null +++ b/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/iso/19139/20070417/gmd/freeText.xsd @@ -0,0 +1,123 @@ + + + + + Geographic MetaData (GMD) extensible markup language is a component of the XML Schema Implementation of Geographic Information Metadata documented in ISO/TS 19139:2007. GMD includes all the definitions of http://www.isotc211.org/2005/gmd namespace. The root document of this namespace is the file gmd.xsd. This freeText.xsd schema implements cultural and linguistic adaptability extensions defined in 7.3 of ISO/TS 19139:2007. This extension essentially formalizes the free text concept described in Annex J of ISO 19115:2003. For this reason, and in order to simplify the organization of overall geographic metadata XML schema, this schema has been included as part of the gmd namespace instead of the gmx namespace. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/iso/19139/20070417/gmd/gmd.xsd b/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/iso/19139/20070417/gmd/gmd.xsd new file mode 100644 index 00000000..8037c8a9 --- /dev/null +++ b/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/iso/19139/20070417/gmd/gmd.xsd @@ -0,0 +1,12 @@ + + + + + Geographic MetaData (GMD) extensible markup language is a component of the XML Schema Implementation of Geographic Information Metadata documented in ISO/TS 19139:2007. GMD includes all the definitions of http://www.isotc211.org/2005/gmd namespace. The root document of this namespace is the file gmd.xsd. + + + + + + + diff --git a/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/iso/19139/20070417/gmd/identification.xsd b/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/iso/19139/20070417/gmd/identification.xsd new file mode 100644 index 00000000..e761de83 --- /dev/null +++ b/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/iso/19139/20070417/gmd/identification.xsd @@ -0,0 +1,349 @@ + + + + + Geographic MetaData (GMD) extensible markup language is a component of the XML Schema Implementation of Geographic Information Metadata documented in ISO/TS 19139:2007. GMD includes all the definitions of http://www.isotc211.org/2005/gmd namespace. The root document of this namespace is the file gmd.xsd. This identification.xsd schema implements the UML conceptual schema defined in A.2.2 of ISO 19115:2003. It contains the implementation of the following classes: MD_Identification, MD_BrowseGraphic, MD_DataIdentification, MD_ServiceIdentification, MD_RepresentativeFraction, MD_Usage, MD_Keywords, DS_Association, MD_AggregateInformation, MD_CharacterSetCode, MD_SpatialRepresentationTypeCode, MD_TopicCategoryCode, MD_ProgressCode, MD_KeywordTypeCode, DS_AssociationTypeCode, DS_InitiativeTypeCode, MD_ResolutionType. + + + + + + + + + + + + + Basic information about data + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Graphic that provides an illustration of the dataset (should include a legend for the graphic) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + See 19119 for further info + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Brief description of ways in which the dataset is currently used. + + + + + + + + + + + + + + + + + + + + + + + + + + Keywords, their type and reference source + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Encapsulates the dataset aggregation information + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + High-level geospatial data thematic classification to assist in the grouping and search of available geospatial datasets + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/iso/19139/20070417/gmd/maintenance.xsd b/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/iso/19139/20070417/gmd/maintenance.xsd new file mode 100644 index 00000000..b9ab8333 --- /dev/null +++ b/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/iso/19139/20070417/gmd/maintenance.xsd @@ -0,0 +1,87 @@ + + + + + Geographic MetaData (GMD) extensible markup language is a component of the XML Schema Implementation of Geographic Information Metadata documented in ISO/TS 19139:2007. GMD includes all the definitions of http://www.isotc211.org/2005/gmd namespace. The root document of this namespace is the file gmd.xsd. This maintenance.xsd schema implements the UML conceptual schema defined in A.2.5 of ISO 19115:2003. It contains the implementation of the following classes: MD_MaintenanceInformation, MD_MaintenanceFrequencyCode, MD_ScopeCode, MD_ScopeDescription. + + + + + + + + + + + + Information about the scope and frequency of updating + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Description of the class of information covered by the information + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/iso/19139/20070417/gmd/metadataApplication.xsd b/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/iso/19139/20070417/gmd/metadataApplication.xsd new file mode 100644 index 00000000..1508b51c --- /dev/null +++ b/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/iso/19139/20070417/gmd/metadataApplication.xsd @@ -0,0 +1,177 @@ + + + + + Geographic MetaData (GMD) extensible markup language is a component of the XML Schema Implementation of Geographic Information Metadata documented in ISO/TS 19139:2007. GMD includes all the definitions of http://www.isotc211.org/2005/gmd namespace. The root document of this namespace is the file gmd.xsd. This metadataApplication.xsd schema implements the UML conceptual schema defined in A.2.12 of ISO 19115:2003. It contains the implementation of the class: MD_ApplicationSchemaInformation. + + + + + + + + + + + + Identifiable collection of datasets + + + + + + + + + + + + + + + + + + + + + + + + + + Identifiable collection of data + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/iso/19139/20070417/gmd/metadataEntity.xsd b/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/iso/19139/20070417/gmd/metadataEntity.xsd new file mode 100644 index 00000000..c9ff4a6d --- /dev/null +++ b/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/iso/19139/20070417/gmd/metadataEntity.xsd @@ -0,0 +1,71 @@ + + + + + Geographic MetaData (GMD) extensible markup language is a component of the XML Schema Implementation of Geographic Information Metadata documented in ISO/TS 19139:2007. GMD includes all the definitions of http://www.isotc211.org/2005/gmd namespace. The root document of this namespace is the file gmd.xsd. This metadataEntity.xsd schema implements the UML conceptual schema defined in A.2.1 of ISO 19115:2003. It contains the implementation of the class MD_Metadata. + + + + + + + + + + + + + + + + + + Information about the metadata + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/iso/19139/20070417/gmd/metadataExtension.xsd b/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/iso/19139/20070417/gmd/metadataExtension.xsd new file mode 100644 index 00000000..4a87b733 --- /dev/null +++ b/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/iso/19139/20070417/gmd/metadataExtension.xsd @@ -0,0 +1,100 @@ + + + + + Geographic MetaData (GMD) extensible markup language is a component of the XML Schema Implementation of Geographic Information Metadata documented in ISO/TS 19139:2007. GMD includes all the definitions of http://www.isotc211.org/2005/gmd namespace. The root document of this namespace is the file gmd.xsd. This metadataExtension.xsd schema implements the UML conceptual schema defined in A.2.11 of ISO 19115:2003. It contains the implementation of the following classes: MD_ExtendedElementInformation, MD_MetadataExtensionInformation, MD_ObligationCode, MD_DatatypeCode. + + + + + + + + + + + New metadata element, not found in ISO 19115, which is required to describe geographic data + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Information describing metadata extensions. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/iso/19139/20070417/gmd/portrayalCatalogue.xsd b/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/iso/19139/20070417/gmd/portrayalCatalogue.xsd new file mode 100644 index 00000000..c8a16448 --- /dev/null +++ b/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/iso/19139/20070417/gmd/portrayalCatalogue.xsd @@ -0,0 +1,37 @@ + + + + + Geographic MetaData (GMD) extensible markup language is a component of the XML Schema Implementation of Geographic Information Metadata documented in ISO/TS 19139:2007. GMD includes all the definitions of http://www.isotc211.org/2005/gmd namespace. The root document of this namespace is the file gmd.xsd. This portrayalCatalogue.xsd schema implements the UML conceptual schema defined in A.2.9 of ISO 19115:2003. It contains the implementation of the class MD_PortrayalCatalogueReference. + + + + + + + + + + + Information identifing the portrayal catalogue used + + + + + + + + + + + + + + + + + + + + + diff --git a/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/iso/19139/20070417/gmd/referenceSystem.xsd b/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/iso/19139/20070417/gmd/referenceSystem.xsd new file mode 100644 index 00000000..b2bce697 --- /dev/null +++ b/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/iso/19139/20070417/gmd/referenceSystem.xsd @@ -0,0 +1,101 @@ + + + + + Geographic MetaData (GMD) extensible markup language is a component of the XML Schema Implementation of Geographic Information Metadata documented in ISO/TS 19139:2007. GMD includes all the definitions of http://www.isotc211.org/2005/gmd namespace. The root document of this namespace is the file gmd.xsd. This referenceSystem.xsd schema implements the UML conceptual schema defined in A.2.7 of ISO 19115:2003 and ISO 19115:2003/Cor. 1:2006. It contains the implementation of the following classes: RS_Identifier, MD_ReferenceSystem, MD_Identifier and RS_Reference System. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Description of the spatial and temporal reference systems used in the dataset + + + + + + + + + + + + + + + + + + + + + + diff --git a/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/iso/19139/20070417/gmd/spatialRepresentation.xsd b/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/iso/19139/20070417/gmd/spatialRepresentation.xsd new file mode 100644 index 00000000..da793da2 --- /dev/null +++ b/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/iso/19139/20070417/gmd/spatialRepresentation.xsd @@ -0,0 +1,240 @@ + + + + + Geographic MetaData (GMD) extensible markup language is a component of the XML Schema Implementation of Geographic Information Metadata documented in ISO/TS 19139:2007. GMD includes all the definitions of http://www.isotc211.org/2005/gmd namespace. The root document of this namespace is the file gmd.xsd. This portrayalCatalogue.xsd schema implements the UML conceptual schema defined in A.2.6 of ISO 19115:2003. It contains the implementation of the following classes: MD_GridSpatialRepresentation, MD_VectorSpatialRepresentation, MD_SpatialRepresentation, MD_Georeferenceable, MD_Dimension, MD_Georectified, MD_GeometricObjects, MD_TopologyLevelCode, MD_GeometricObjectTypeCode, MD_CellGeometryCode, MD_DimensionNameTypeCode, MD_PixelOrientationCode. + + + + + + + + + + + + + + Types and numbers of raster spatial objects in the dataset + + + + + + + + + + + + + + + + + + + + + + + + + + Information about the vector spatial objects in the dataset + + + + + + + + + + + + + + + + + + + + + + + + Digital mechanism used to represent spatial information + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/iso/19139/20070417/gmx/ReadMe.txt b/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/iso/19139/20070417/gmx/ReadMe.txt new file mode 100644 index 00000000..16a0ede8 --- /dev/null +++ b/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/iso/19139/20070417/gmx/ReadMe.txt @@ -0,0 +1,47 @@ +ISO(c) GMX schema ReadMe.txt +------------------------------------------------------------------------------ + +Geographic Metadata XML (GMX) Schema + +GMX is a component of the XML Schema Implementation of Geographic +Information Metadata documented in ISO/TS 19139:2007. + +GMX includes all the definitions of http://www.isotc211.org/2005/gmx +namespace. The root document of this namespace is the file gmx.xsd. + +The most current schemas are available at: +http://standards.iso.org/ittf/PubliclyAvailableStandards/ISO_19139_Schemas/ + +------------------------------------------------------------------------------- + +2012-07-13 Nicolas Lesage on behalf of the ISO/TC 211 XML Maintenance Group + * Update of readme.txt file and schema annotations + * Use of absolute schema locations of imported namespaces + * Simplification of the schema location of included XML Schemas + * Adoption of W3C Implementation of XLink: + - schemaLocation changed to: http://www.w3.org/1999/xlink.xsd + - xlink:simpleLink renamed xlink:simpleAttrs + * Addition of the version attribute to the schema element. The value of + this attribute is expected to be the date of the last release of the + XML schemas (e.g. 2012-07-13 for this release) + * Include root XML Schema document in all schema documents + + Validation: Schemas have been validated with XML Spy 2010 Rel. 2 (MSXML 6.0) + +2009-03-16 Marcellin Prudham & Nicolas Lesage + * Change of GML namespace: http://www.opengis.net/gml (GML 3.2) => + http://www.opengis.net/gml/3.2 (GML 3.2.1=ISO 19136) + + Note: ISO/TS 19139:2007 (published 2007-04-17) normatively reference + ISO 19136 which was published 2007-08-23. The major change applied to + ISO 19136 is the change of the namespace URI. Previous release of GMX + are not compliant with ISO/TS 19139:2007 + + Validation: Schemas have been validated with XSV 2.10, Xerces J 2.7.1 and + XML Spy 2009 (2009-03-02, IGN / France - Nicolas Lesage / Marcellin Prudham) + +2006-05-04 Marie-Pierre Escher & Nicolas Lesage + * First official release of GMX + * GMX XML Schema files were generated from ISO/TC 211 UML class diagrams + in accordance with ISO/TS 19139:2007. The XML Schema generator is a + Rational Rose Plug-in developed by IGN France (nicolas.lesage@ign.fr). diff --git a/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/iso/19139/20070417/gmx/catalogues.xsd b/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/iso/19139/20070417/gmx/catalogues.xsd new file mode 100644 index 00000000..c640f599 --- /dev/null +++ b/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/iso/19139/20070417/gmx/catalogues.xsd @@ -0,0 +1,113 @@ + + + + + Geographic Metadata XML (GMX) Schema is a component of the XML Schema Implementation of Geographic Information Metadata documented in ISO/TS 19139:2007. GMX includes all the definitions of http://www.isotc211.org/2005/gmx namespace. The root document of this namespace is the file gmx.xsd. This catalogues.xsd schema implements the UML conceptual schema defined in 7.4.4.1 of ISO/TS 19139:2007. It contains the implementation of CT_Catalogue, CT_CodelistCatalogue, CT_UomCatalogue and CT_CrsCatalogue. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/iso/19139/20070417/gmx/codelistItem.xsd b/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/iso/19139/20070417/gmx/codelistItem.xsd new file mode 100644 index 00000000..ece8ad22 --- /dev/null +++ b/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/iso/19139/20070417/gmx/codelistItem.xsd @@ -0,0 +1,169 @@ + + + + + Geographic Metadata XML (GMX) Schema is a component of the XML Schema Implementation of Geographic Information Metadata documented in ISO/TS 19139:2007. GMX includes all the definitions of http://www.isotc211.org/2005/gmx namespace. The root document of this namespace is the file gmx.xsd. This codelistItem.xsd schema implements the UML conceptual schema defined in 7.4.4.4 of ISO/TS 19139:2007. It contains the implementation of CT_Codelist and CT_CodelistValue. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Constraints: - 1) metadataProperty.card = 0 - 2) dictionaryEntry.card = 0 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Constraint: codeEntry.type = ML_CodeListDefinition + + + + + + + + + + + + + + + + + + + + + + + + + XML attributes contraints: - 1) Id is mandatory - 2) codeSpace (type xsd:anyURI) is mandatory + + + + + + + + + + + + + + + + + + + + + + + + + XML attributes contraints: - 1) Id is mandatory - 2) codeSpace (type xsd:anyURI) is mandatory + + + + + + + + + + + + + + + + + + + + + + + diff --git a/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/iso/19139/20070417/gmx/crsItem.xsd b/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/iso/19139/20070417/gmx/crsItem.xsd new file mode 100644 index 00000000..e4f19a64 --- /dev/null +++ b/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/iso/19139/20070417/gmx/crsItem.xsd @@ -0,0 +1,1031 @@ + + + + + Geographic Metadata XML (GMX) Schema is a component of the XML Schema Implementation of Geographic Information Metadata documented in ISO/TS 19139:2007. GMX includes all the definitions of http://www.isotc211.org/2005/gmx namespace. The root document of this namespace is the file gmx.xsd. This crsItem.xsd schema implements the UML conceptual schema defined in 7.4.4.3 of ISO/TS 19139:2007. It contains the implementation of CT_CRS, CT_CoordinateSystem, CT_CoordinateSystemAxis, CT_Datum, CT_Ellipsoid, CT_PrimeMeridian, CT_Operation, CT_OperationMethod and CT_OperationParameters. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + XML attributes contraints: - 1) Id is mandatory - 2) codeSpace (type xsd:anyURI) is mandatory + + + + + + + + + + + + + + + + + + + + + + + + XML attributes contraints: - 1) Id is mandatory - 2) codeSpace (type xsd:anyURI) is mandatory + + + + + + + + + + + + + + + + + + + + + + + + + XML attributes contraints: - 1) Id is mandatory - 2) codeSpace (type xsd:anyURI) is mandatory + + + + + + + + + + + + + + + + + + + + + + + + XML attributes contraints: - 1) Id is mandatory - 2) codeSpace (type xsd:anyURI) is mandatory + + + + + + + + + + + + + + + + + + + + + + + + XML attributes contraints: - 1) Id is mandatory - 2) codeSpace (type xsd:anyURI) is mandatory + + + + + + + + + + + + + + + + + + + + + + + + XML attributes contraints: - 1) Id is mandatory - 2) codeSpace (type xsd:anyURI) is mandatory + + + + + + + + + + + + + + + + + + + + + + + + XML attributes contraints: - 1) Id is mandatory - 2) codeSpace (type xsd:anyURI) is mandatory + + + + + + + + + + + + + + + + + + + + + + + + XML attributes contraints: - 1) Id is mandatory - 2) codeSpace (type xsd:anyURI) is mandatory + + + + + + + + + + + + + + + + + + + + + + + + XML attributes contraints: - 1) Id is mandatory - 2) codeSpace (type xsd:anyURI) is mandatory + + + + + + + + + + + + + + + + + + + + + + + diff --git a/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/iso/19139/20070417/gmx/extendedTypes.xsd b/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/iso/19139/20070417/gmx/extendedTypes.xsd new file mode 100644 index 00000000..61874030 --- /dev/null +++ b/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/iso/19139/20070417/gmx/extendedTypes.xsd @@ -0,0 +1,76 @@ + + + + + Geographic Metadata XML (GMX) Schema is a component of the XML Schema Implementation of Geographic Information Metadata documented in ISO/TS 19139:2007. GMX includes all the definitions of http://www.isotc211.org/2005/gmx namespace. The root document of this namespace is the file gmx.xsd. This extendedTypes.xsd schema contains the XML definitions of FileName, Anchor and MimeFileType classes. These classes are fully described in 7.2 of ISO/TS 19139:2007. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/iso/19139/20070417/gmx/gmx.xsd b/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/iso/19139/20070417/gmx/gmx.xsd new file mode 100644 index 00000000..0df5b375 --- /dev/null +++ b/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/iso/19139/20070417/gmx/gmx.xsd @@ -0,0 +1,12 @@ + + + + + Geographic Metadata XML (GMX) Schema is a component of the XML Schema Implementation of Geographic Information Metadata documented in ISO/TS 19139:2007. GMX includes all the definitions of http://www.isotc211.org/2005/gmx namespace. The root document of this namespace is the file gmx.xsd. + + + + + + + diff --git a/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/iso/19139/20070417/gmx/gmxUsage.xsd b/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/iso/19139/20070417/gmx/gmxUsage.xsd new file mode 100644 index 00000000..352e9426 --- /dev/null +++ b/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/iso/19139/20070417/gmx/gmxUsage.xsd @@ -0,0 +1,128 @@ + + + + + Geographic Metadata XML (GMX) Schema is a component of the XML Schema Implementation of Geographic Information Metadata documented in ISO/TS 19139:2007. GMX includes all the definitions of http://www.isotc211.org/2005/gmx namespace. The root document of this namespace is the file gmx.xsd. This gmxUsage.xsd schema implements the UML conceptual schema defined in 7.4.1 of ISO/TS 19139:2007. It contains the implementation of the following classes: MX_Dataset, MX_Aggregate, MX_DataFile and MX_ScopeCode. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/iso/19139/20070417/gmx/uomItem.xsd b/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/iso/19139/20070417/gmx/uomItem.xsd new file mode 100644 index 00000000..bc49ea1a --- /dev/null +++ b/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/iso/19139/20070417/gmx/uomItem.xsd @@ -0,0 +1,163 @@ + + + + + Geographic Metadata XML (GMX) Schema is a component of the XML Schema Implementation of Geographic Information Metadata documented in ISO/TS 19139:2007. GMX includes all the definitions of http://www.isotc211.org/2005/gmx namespace. The root document of this namespace is the file gmx.xsd. This uomItem.xsd schema implements the UML conceptual schema defined in 7.4.4.2 of ISO/TS 19139:2007. It contains the implementation of the UnitDefinition class. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + XML attributes contraints: - 1) Id is mandatory - 2) codeSpace (type xsd:anyURI) is mandatory + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/iso/19139/20070417/gsr/ReadMe.txt b/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/iso/19139/20070417/gsr/ReadMe.txt new file mode 100644 index 00000000..6bbcd21d --- /dev/null +++ b/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/iso/19139/20070417/gsr/ReadMe.txt @@ -0,0 +1,45 @@ +ISO(c) GSR schema ReadMe.txt +------------------------------------------------------------------------------ + +Geographic Spatial Referencing (GSR) extensible markup language + +GSR is a component of the XML Schema Implementation of Geographic +Information Metadata documented in ISO/TS 19139:2007. + +GSR includes all the definitions of http://www.isotc211.org/2005/gsr +namespace. The root document of this namespace is the file gsr.xsd. + +The most current schemas are available at: +http://standards.iso.org/ittf/PubliclyAvailableStandards/ISO_19139_Schemas/ + +------------------------------------------------------------------------------- + +2012-07-13 Nicolas Lesage on behalf of the ISO/TC 211 XML Maintenance Group + * Update of readme.txt file and schema annotations + * Use of absolute schema locations of imported namespaces + * Simplification of the schema location of included XML Schemas + * Addition of the version attribute to the schema element. The value of + this attribute is expected to be the date of the last release of the + XML schemas (e.g. 2012-07-13 for this release) + * Include root XML Schema document in all schema documents + + Validation: Schemas have been validated with XML Spy 2010 Rel. 2 (MSXML 6.0) + +2009-03-16 Marcellin Prudham & Nicolas Lesage + * Change of GML namespace: http://www.opengis.net/gml (GML 3.2) => + http://www.opengis.net/gml/3.2 (GML 3.2.1=ISO 19136) + + Note: ISO/TS 19139:2007 (published 2007-04-17) normatively reference + ISO 19136 which was published 2007-08-23. The major change applied to + ISO 19136 is the change of the namespace URI. Previous release of GSR + are not compliant with ISO/TS 19139:2007 + + Validation: Schemas have been validated with XSV 2.10, Xerces J 2.7.1 and + XML Spy 2009 (2009-03-02, IGN / France - Nicolas Lesage / Marcellin Prudham) + +2006-05-04 Marie-Pierre Escher & Nicolas Lesage + * First official release of GSR + * GSR XML Schema files were generated from ISO/TC 211 UML class diagrams + in accordance with ISO/TS 19139:2007. The XML Schema generator is a + Rational Rose Plug-in developed by IGN France (http://www.ign.fr). + diff --git a/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/iso/19139/20070417/gsr/gsr.xsd b/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/iso/19139/20070417/gsr/gsr.xsd new file mode 100644 index 00000000..a3aacf3a --- /dev/null +++ b/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/iso/19139/20070417/gsr/gsr.xsd @@ -0,0 +1,12 @@ + + + + + Geographic Spatial Referencing (GSR) extensible markup language is a component of the XML Schema Implementation of Geographic Information Metadata documented in ISO/TS 19139:2007. GSR includes all the definitions of http://www.isotc211.org/2005/gsr namespace. The root document of this namespace is the file gsr.xsd. + + + + + + + diff --git a/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/iso/19139/20070417/gsr/spatialReferencing.xsd b/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/iso/19139/20070417/gsr/spatialReferencing.xsd new file mode 100644 index 00000000..5ff68d2b --- /dev/null +++ b/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/iso/19139/20070417/gsr/spatialReferencing.xsd @@ -0,0 +1,27 @@ + + + + + Geographic Spatial Referencing (GSR) extensible markup language is a component of the XML Schema Implementation of Geographic Information Metadata documented in ISO/TS 19139:2007. GSR includes all the definitions of http://www.isotc211.org/2005/gsr namespace. The root document of this namespace is the file gsr.xsd. This spatialReferencing.xsd schema contains the implementation of SC_CRS. The encoding of this class is mapped to an ISO 19136 XML type. + + + + + + + + + + + + + + + + + + + + + diff --git a/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/iso/19139/20070417/gss/ReadMe.txt b/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/iso/19139/20070417/gss/ReadMe.txt new file mode 100644 index 00000000..d1d377a7 --- /dev/null +++ b/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/iso/19139/20070417/gss/ReadMe.txt @@ -0,0 +1,44 @@ +ISO(c) GSS schema ReadMe.txt +------------------------------------------------------------------------------ + +Geographic Spatial Schema (GSS) extensible markup language + +GSS is a component of the XML Schema Implementation of Geographic +Information Metadata documented in ISO/TS 19139:2007. + +GSS includes all the definitions of http://www.isotc211.org/2005/gss +namespace. The root document of this namespace is the file gss.xsd. + +The most current schemas are available at: +http://standards.iso.org/ittf/PubliclyAvailableStandards/ISO_19139_Schemas/ + +------------------------------------------------------------------------------- + +2012-07-13 Nicolas Lesage on behalf of the ISO/TC 211 XML Maintenance Group + * Update of readme.txt file and schema annotations + * Use of absolute schema locations of imported namespaces + * Simplification of the schema location of included XML Schemas + * Addition of the version attribute to the schema element. The value of + this attribute is expected to be the date of the last release of the + XML schemas (e.g. 2012-07-13 for this release) + * Include root XML Schema document in all schema documents + + Validation: Schemas have been validated with XML Spy 2010 Rel. 2 (MSXML 6.0) + +2009-03-16 Marcellin Prudham & Nicolas Lesage + * Change of GML namespace: http://www.opengis.net/gml (GML 3.2) => + http://www.opengis.net/gml/3.2 (GML 3.2.1=ISO 19136) + + Note: ISO/TS 19139:2007 (published 2007-04-17) normatively reference + ISO 19136 which was published 2007-08-23. The major change applied to + ISO 19136 is the change of the namespace URI. Previous release of GSS + are not compliant with ISO/TS 19139:2007 + + Validation: Schemas have been validated with XSV 2.10, Xerces J 2.7.1 and + XML Spy 2009 (2009-03-02, IGN / France - Nicolas Lesage / Marcellin Prudham) + +2006-05-04 Marie-Pierre Escher & Nicolas Lesage + * First official release of GSS + * GSS XML Schema files were generated from ISO/TC 211 UML class diagrams + in accordance with ISO/TS 19139:2007. The XML Schema generator is a + Rational Rose Plug-in developed by IGN France (nicolas.lesage@ign.fr). diff --git a/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/iso/19139/20070417/gss/geometry.xsd b/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/iso/19139/20070417/gss/geometry.xsd new file mode 100644 index 00000000..3021f641 --- /dev/null +++ b/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/iso/19139/20070417/gss/geometry.xsd @@ -0,0 +1,36 @@ + + + + + Geographic Spatial Schema (GSS) extensible markup language is a component of the XML Schema Implementation of Geographic Information Metadata documented in ISO/TS 19139:2007. GSS includes all the definitions of http://www.isotc211.org/2005/gss namespace. The root document of this namespace is the file gss.xsd. This geometry.xsd schema contains the implementation of GM_Object and GM_Point. The encoding of these classes is mapped to ISO 19136 geometric types. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/iso/19139/20070417/gss/gss.xsd b/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/iso/19139/20070417/gss/gss.xsd new file mode 100644 index 00000000..2594cfe9 --- /dev/null +++ b/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/iso/19139/20070417/gss/gss.xsd @@ -0,0 +1,12 @@ + + + + + Geographic Spatial Schema (GSS) extensible markup language is a component of the XML Schema Implementation of Geographic Information Metadata documented in ISO/TS 19139:2007. GSS includes all the definitions of http://www.isotc211.org/2005/gss namespace. The root document of this namespace is the file gss.xsd. + + + + + + + diff --git a/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/iso/19139/20070417/gts/ReadMe.txt b/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/iso/19139/20070417/gts/ReadMe.txt new file mode 100644 index 00000000..29b13074 --- /dev/null +++ b/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/iso/19139/20070417/gts/ReadMe.txt @@ -0,0 +1,44 @@ +ISO(c) GTS schema ReadMe.txt +------------------------------------------------------------------------------ + +Geographic Temporal Schema (GTS) extensible markup language + +GTS is a component of the XML Schema Implementation of Geographic +Information Metadata documented in ISO/TS 19139:2007. + +GTS includes all the definitions of http://www.isotc211.org/2005/gts +namespace. The root document of this namespace is the file gts.xsd. + +The most current schemas are available at: +http://standards.iso.org/ittf/PubliclyAvailableStandards/ISO_19139_Schemas/ + +------------------------------------------------------------------------------- + +2012-07-13 Nicolas Lesage on behalf of the ISO/TC 211 XML Maintenance Group + * Update of readme.txt file and schema annotations + * Use of absolute schema locations of imported namespaces + * Simplification of the schema location of included XML Schemas + * Addition of the version attribute to the schema element. The value of + this attribute is expected to be the date of the last release of the + XML schemas (e.g. 2012-07-13 for this release) + * Include root XML Schema document in all schema documents + + Validation: Schemas have been validated with XML Spy 2010 Rel. 2 (MSXML 6.0) + +2009-03-16 Marcellin Prudham & Nicolas Lesage + * Change of GML namespace: http://www.opengis.net/gml (GML 3.2) => + http://www.opengis.net/gml/3.2 (GML 3.2.1=ISO 19136) + + Note: ISO/TS 19139:2007 (published 2007-04-17) normatively reference + ISO 19136 which was published 2007-08-23. The major change applied to + ISO 19136 is the change of the namespace URI. Previous release of GTS + are not compliant with ISO/TS 19139:2007 + + Validation: Schemas have been validated with XSV 2.10, Xerces J 2.7.1 and + XML Spy 2009 (2009-03-02, IGN / France - Nicolas Lesage / Marcellin Prudham) + +2006-05-04 Marie-Pierre Escher & Nicolas Lesage + * First official release of GTS + * GTS XML Schema files were generated from ISO/TC 211 UML class diagrams + in accordance with ISO/TS 19139:2007. The XML Schema generator is a + Rational Rose Plug-in developed by IGN France (http://www.ign.fr). diff --git a/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/iso/19139/20070417/gts/gts.xsd b/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/iso/19139/20070417/gts/gts.xsd new file mode 100644 index 00000000..a4184fdb --- /dev/null +++ b/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/iso/19139/20070417/gts/gts.xsd @@ -0,0 +1,12 @@ + + + + + Geographic Temporal Schema (GTS) extensible markup language is a component of the XML Schema Implementation of Geographic Information Metadata documented in ISO/TS 19139:2007. GTS includes all the definitions of http://www.isotc211.org/2005/gts namespace. The root document of this namespace is the file gts.xsd. + + + + + + + diff --git a/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/iso/19139/20070417/gts/temporalObjects.xsd b/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/iso/19139/20070417/gts/temporalObjects.xsd new file mode 100644 index 00000000..b80e94c0 --- /dev/null +++ b/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/iso/19139/20070417/gts/temporalObjects.xsd @@ -0,0 +1,37 @@ + + + + + Geographic Temporal Schema (GTS) extensible markup language is a component of the XML Schema Implementation of Geographic Information Metadata documented in ISO/TS 19139:2007. GTS includes all the definitions of http://www.isotc211.org/2005/gts namespace. The root document of this namespace is the file gts.xsd. The temporalObjects.xsd schema contains the XML implementation of TM_Object, TM_Primitive and TM_PeriodDuration from ISO 19108. The encoding of these classes is mapped to ISO 19136 temporal types and W3C built-in types. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/iso/19139/20070417/resources/ReadMe.txt b/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/iso/19139/20070417/resources/ReadMe.txt new file mode 100644 index 00000000..2cdbe533 --- /dev/null +++ b/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/iso/19139/20070417/resources/ReadMe.txt @@ -0,0 +1,20 @@ +ISO(c) - ISO/TS 19139:2007 resources +------------------------------------------------------------------------------ + +ISO/TS 19139:2007 resources are XML Files provided with the XML +Schema Implementations defined in ISO/TS 19139-2. Those resources are: +- Catalogues of Codelist, Units of measure (uom) and Coordinate Reference + Systems (CRS) +- sample XML + +------------------------------------------------------------------------------- + +2012-07-13 Nicolas Lesage on behalf of the ISO/TC 211 XML Maintenance Group + * Update of Readme.txt file + * Use of absolute schema locations + * Adoption of W3C Implementation of XLink: + + Validation: XML Files have been validated with XML Spy 2010 Rel. 2 (MSXML 6.0) + + +No history... diff --git a/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/iso/19139/20070417/resources/codelist/ML_gmxCodelists.xml b/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/iso/19139/20070417/resources/codelist/ML_gmxCodelists.xml new file mode 100644 index 00000000..1008415b --- /dev/null +++ b/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/iso/19139/20070417/resources/codelist/ML_gmxCodelists.xml @@ -0,0 +1,841 @@ + + + + + + ML_gmxCodelists + + + Codelists for description of metadata datasets compliant with ISO/TC 211 19115:2003 and 19139 + + + Listes de codes pour la description de lots de métadonnées conforme ISO TC/211 19115:2003 et 19139 + + + + + GMX (and imported) namespace + + + 0.0 + + + 2005-03-18 + + + + + English + + + UTF 8 + + + + + + French + + + France + + + UTF 8 + + + + + + + + + + identification of when a given event occurred + CI_DateTypeCode + + + date identifies when the resource was brought into existence + creation + creation + + + date identifiant la création de la ressource + creation + création + + + + + + + + date identifies when the resource was issued + publication + publication + + + date identifiant la publication de la ressource + publication + publication + + + + + + + + date identifies when the resource was examined or re-examined and imporved or amended + revision + revision + + + amélioration ou amendement de la ressource + revision + révision + + + + + + + + identification de quand un événement s'est produit + CI_DateTypeCode + + + + + + + + + function performed by the resource + CI_OnLineFunctionCode + + + online instructions for transferring data from one storage device or system to another + download + Download + + + transfert de la ressource d'un système à un autre + download + Téléchargement + + + + + + + + online information about the resource + information + Information + + + description de la ressource en ligne + information + Information + + + + + + + + online instructions for requesting the resource from the provider + offlineAccess + Off line access + + + information pour requérir la ressource + offlineAccess + Accès hors ligne + + + + + + + + online order process for obtening the resource + order + Order + + + formulaire pour obtenir la ressource + order + commande en ligne + + + + + + + + online search interface for seeking out information about the resource + search + Search + + + interface de recherche d'information sur la ressource + search + Moteur de recherche + + + + + + + + Fonctionnalité offerte par la ressource + CI_OnLineFunctionCode + + + + + + + + + name of the character coding standard used in the resource + MD_CharacterSetCode + + + 16-bit fixed size Universal Character Set, based on ISO/IEC 10646 + ucs2 + + + 16 bits ISO/IEC 10646 + ucs2 + + + + + + + + 32-bit fixed size Universal Character Set, based on ISO/IEC 10646 + ucs4 + + + 32 bits ISO/IEC 10646 + ucs4 + + + + + + + + 7-bit variable size UCS Transfer Format, based on ISO/IEC 10646 + utf7 + + + 7 bits ISO/IEC 10646 + utf7 + + + + + + + + 8-bit variable size UCS Transfer Format, based on ISO/IEC 10646 + utf8 + + + 8 bits ISO/IEC 10646 + utf8 + + + + + + + + 16-bit variable size UCS Transfer Format, based on ISO/IEC 10646 + utf16 + + + 16 bits ISO/IEC 10646 + utf16 + + + + + + + + ISO/IEC 8859-1, Information technology - 8-bit single byte coded graphic character sets - Part 1 : Latin alphabet No.1 + 8859part1 + + + ISO/IEC 8859-1, alphabet latin 1 + 8859part1 + + + + + + + + ISO/IEC 8859-2, Information technology - 8-bit single byte coded graphic character sets - Part 2 : Latin alphabet No.2 + 8859part2 + + + ISO/IEC 8859-2, alphabet latin 2 + 8859part2 + + + + + + + + ISO/IEC 8859-3, Information technology - 8-bit single byte coded graphic character sets - Part 3 : Latin alphabet No.3 + 8859part3 + + + ISO/IEC 8859-3, alphabet latin 3 + 8859part3 + + + + + + + + ISO/IEC 8859-4, Information technology - 8-bit single byte coded graphic character sets - Part 4 : Latin alphabet No.4 + 8859part4 + + + ISO/IEC 8859-4, alphabet latin 4 + 8859part4 + + + + + + + + ISO/IEC 8859-5, Information technology - 8-bit single byte coded graphic character sets - Part 5 : Latin/Cyrillic alphabet + 8859part5 + + + ISO/IEC 8859-5, alphabet latin/cyrillique + 8859part5 + + + + + + + + ISO/IEC 8859-6, Information technology - 8-bit single byte coded graphic character sets - Part 6 : Latin/Arabic alphabet + 8859part6 + + + ISO/IEC 8859-6, alphabet latin/arabe + 8859part6 + + + + + + + + ISO/IEC 8859-7, Information technology - 8-bit single byte coded graphic character sets - Part 7 : Latin/Greek alphabet + 8859part7 + + + ISO/IEC 8859-7, alphabet latin/grec + 8859part7 + + + + + + + + ISO/IEC 8859-8, Information technology - 8-bit single byte coded graphic character sets - Part 8 : Latin/Hebrew alphabet + 8859part8 + + + ISO/IEC 8859-8, alphabet latin/hébreu + 8859part8 + + + + + + + + ISO/IEC 8859-9, Information technology - 8-bit single byte coded graphic character sets - Part 9 : Latin alphabet No.5 + 8859part9 + + + ISO/IEC 8859-9, alphabet latin 5 + 8859part9 + + + + + + + + ISO/IEC 8859-10, Information technology - 8-bit single byte coded graphic character sets - Part 10 : Latin alphabet No.6 + 8859part10 + + + ISO/IEC 8859-10, alphabet latin 6 + 8859part10 + + + + + + + + ISO/IEC 8859-11, Information technology - 8-bit single byte coded graphic character sets - Part 11 : Latin/Thai alphabet + 8859part11 + + + ISO/IEC 8859-11, alphabet latin/Thaï + 8859part11 + + + + + + + + + ISO/IEC 8859-13, Information technology - 8-bit single byte coded graphic character sets - Part 13 : Latin alphabet No.7 + 8859part13 + + + ISO/IEC 8859-13, alphabet latin 7 + 8859part13 + + + + + + + + ISO/IEC 8859-14, Information technology - 8-bit single byte coded graphic character sets - Part 14 : Latin alphabet No.8 (Celtic) + 8859part14 + + + ISO/IEC 8859-14, alphabet latin 8 (celtique) + 8859part14 + + + + + + + + ISO/IEC 8859-15, Information technology - 8-bit single byte coded graphic character sets - Part 15 : Latin alphabet No.9 + 8859part15 + + + ISO/IEC 8859-15, alphabet latin 9 + 8859part15 + + + + + + + + ISO/IEC 8859-16, Information technology - 8-bit single byte coded graphic character sets - Part 16 : Latin alphabet No.10 + 8859part16 + + + ISO/IEC 8859-16, alphabet latin 10 + 8859part16 + + + + + + + + japanese code set used for electronic transmission + jis + + + Japonais + jis + + + + + + + + japanese code set used on MS-DOS machines + shiftJIS + + + Japonais pour MS-DOS + shiftJIS + + + + + + + + japanese code set used on UNIX based machines + eucJP + + + Japonais pour UNIX + eucJP + + + + + + + + United States ASCII code set (ISO 646 US) + usAscii + + + ISO 646 US + usAscii + + + + + + + + IBM mainframe code set + ebcdic + + + IBM + ebcdic + + + + + + + + Korean code set + eucKR + + + Koréen + eucKR + + + + + + + + traditional Chinese code set used in Taiwan, Hong Kong of China and other areas + big5 + + + Chinois traditionel (Taiwan, Hong Kong, Chine) + big5 + + + + + + + + simplified Chinese code set + GB2312 + + + Chinois simplifié + GB2312 + + + + + + + + Jeu de caractères + MD_CharacterSetCode + + + + + + + + + class of information to which the referencing entity applies + MD_ScopeCode + + + Information applies to the attribute class + attribute + Attribute + + + Information qui s’applique à une classe d’attributs + attribute + Attribut + + + + + + + + Information applies to the characteristic of a feature + attributeType + Attribute type + + + Information qui s’applique à la caractéristique d’une entité géographique + attributeType + Type d’attribut + + + + + + + + Information applies to the dataset + dataset + Dataset + + + Information qui s’applique au jeu de données + dataset + Jeu de données + + + + + + Information applies to the dataset + dataset + 005 + + + + + + + Information applies to the series + series + Series + + + Information qui s’applique à une série + series + Série + + + + + + + + Information applies to non-geographic data + nonGeographicDataset + Non geographic dataset + + + Information qui s’applique à des données non-géographiques + nonGeographicDataset + Jeu de données non géographiques + + + + + + + + Information applies to a feature + feature + Feature + + + Information qui s’applique à un élément (entité géographique) + feature + Elément + + + + + + + + Information applies to a feature type + featureType + Feature type + + + Information qui s’applique à un type d’élément + featureType + Type d’élément + + + + + + + + Information applies to a property type + propertyType + Property type + + + Information qui s’applique à un type de propriété + propertyType + Type de propriété + + + + + + + + Information applies to a tile, a spatial subset of geographic data + tile + Tile + + + Information qui s’applique à une tuile, un sous-ensemble spatial de données géographiques + tile + Tuile + + + + + + + + information sur l'entité sur laquelle les métadonnées s'appliquent + MD_ScopeCode + + + + + + + + + + Language : ISO 639-2 (3 characters) + LanguageCode + + + English + eng + English + + + Anglais + eng + Anglais + + + + + + + + French + fra + French + + + Français + fra + Français + + + + + + + + Langue : ISO 639-2 (3 caractères) + LanguageCode + + + + + + + + + Country : ISO 3166-2 (2 characters) + Country + + + United Kingdom + UK + United Kingdom + + + Royaume-Uni + UK + Royaume-Uni + + + + + + + + France + FR + France + + + France + FR + France + + + + + + + + Pays : ISO 3166-2 (2 caractères) + Country + + + + + + + diff --git a/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/iso/19139/20070417/resources/codelist/gmxCodelists.xml b/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/iso/19139/20070417/resources/codelist/gmxCodelists.xml new file mode 100644 index 00000000..e1dc5bab --- /dev/null +++ b/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/iso/19139/20070417/resources/codelist/gmxCodelists.xml @@ -0,0 +1,1898 @@ + + + + + + + gmxCodelists + + + Codelists for description of metadata datasets compliant with ISO/TC 211 19115:2003 and 19139 + + + GMX (and imported) namespace + + + 0.0 + + + 2005-03-18 + + + + + + + + identification of when a given event occurred + CI_DateTypeCode + + + date identifies when the resource was brought into existence + creation + + + + + date identifies when the resource was issued + publication + + + + + date identifies when the resource was examined or re-examined and imporved or amended + revision + + + + + + + + function performed by the resource + CI_OnLineFunctionCode + + + online instructions for transferring data from one storage device or system to another + download + + + + + online information about the resource + information + + + + + online instructions for requesting the resource from the provider + offlineAccess + + + + + online order process for obtening the resource + order + + + + + online search interface for seeking out information about the resource + search + + + + + + + + mode in which the data is represented + CI_PresentationFormCode + + + digital representation of a primarily textual item (can contain illustrations also) + documentDigital + + + + + representation of a primarily textual item (can contain illustrations also) on paper, photograhic material, or other media + imageDigital + + + + + likeness of natural or man-made features, objects, and activities acquired through the sensing of visual or any other segment of the electromagnetic spectrum by sensors, such as thermal infrared, and high resolution radar and stored in digital format + documentHardcopy + + + + + likeness of natural or man-made features, objects, and activities acquired through the sensing of visual or any other segment of the electromagnetic spectrum by sensors, such as thermal infrared, and high resolution radar and reproduced on paper, photographic material, or other media for use directly by the human user + imageHardcopy + + + + + map represented in raster or vector form + mapDigital + + + + + map printed on paper, photographic material, or other media for use directly by the human user + mapHardcopy + + + + + multi-dimensional digital representation of a feature, process, etc. + modelDigital + + + + + 3-dimensional, physical model + modelHardcopy + + + + + vertical cross-section in digital form + profileDigital + + + + + vertical cross-section printed on paper, etc. + profileHardcopy + + + + + digital representation of facts or figures systematically displayed, especially in columns + tableDigital + + + + + representation of facts or figures systematically displayed, especially in columns, printed onpapers, photographic material, or other media + tableHardcopy + + + + + digital video recording + videoDigital + + + + + video recording on film + videoHardcopy + + + + + + + + function performed by the responsible party + CI_RoleCode + + + party that supplies the resource + resourceProvider + + + + + party that accepts accountability and responsability for the data and ensures appropriate care and maintenance of the resource + custodian + + + + + party that owns the resource + owner + + + + + party who uses the resource + user + + + + + party who distributes the resource + distributor + + + + + party who created the resource + originator + + + + + party who can be contacted for acquiring knowledge about or acquisition of the resource + pointOfContact + + + + + key party responsible for gathering information and conducting research + principalInvestigator + + + + + party wha has processed the data in a manner such that the resource has been modified + processor + + + + + party who published the resource + publisher + + + + + party who authored the resource + author + + + + + + + + type or method for evaluating an identified data quality measure + DQ_EvaluationMethodTypeCode + + + method of evaluating the quality of a dataset based on inspection of items within the dataset, where all data required is internal to the dataset being evaluated + directInternal + + + + + method of evaluating the quality of a dataset based on inspection of items within the dataset, where reference data external to the dataset being evaluated is required + directExternal + + + + + method of evaluating the quality of a dataset based on external knowledge + indirect + + + + + + + + justification for the correlation of two datasets + DS_AssociationTypeCode + + + reference from one dataset to another + crossReference + + + + + reference to a master dataset of which this one is a part + largerWorkCitation + + + + + part of the same structured set of data held in a computer + partOfSeamlessDatabase + + + + + mapping and charting information from which the dataset content originates + source + + + + + part of a set of imagery that when used together, provides three-dimensional images + stereoMate + + + + + + + + type of aggregation activity in which datasets are related + DS_InitiativeTypeCode + + + series of organized planned actions + campaign + + + + + accumulation of datasets assembled for a specific purpose + collection + + + + + specific performance of a function or group of functions + exercise + + + + + process designed to find if something is effective or valid + experiment + + + + + search or systematic inquiry + investigation + + + + + specific operation of a data collection system + mission + + + + + device or piece of equipment which detects or records + sensor + + + + + action that is part of a series of actions + operation + + + + + vehicle or other support base that holds a sensor + platform + + + + + method of doing something involving a number of steps + process + + + + + specific planned activity + program + + + + + organized undertaking, research, or development + project + + + + + examination or investigation + study + + + + + piece of work + task + + + + + process of testing to discover or demonstrate something + trial + + + + + + + + code indicating whether grid data is point or area + MD_CellGeometryCode + + + each cell represents a point + point + + + + + each cell represents an area + area + + + + + + + + name of the character coding standard used in the resource + MD_CharacterSetCode + + + 16-bit fixed size Universal Character Set, based on ISO/IEC 10646 + ucs2 + + + + + 32-bit fixed size Universal Character Set, based on ISO/IEC 10646 + ucs4 + + + + + 7-bit variable size UCS Transfer Format, based on ISO/IEC 10646 + utf7 + + + + + 8-bit variable size UCS Transfer Format, based on ISO/IEC 10646 + utf8 + + + + + 16-bit variable size UCS Transfer Format, based on ISO/IEC 10646 + utf16 + + + + + ISO/IEC 8859-1, Information technology - 8-bit single byte coded graphic character sets - Part 1 : Latin alphabet No.1 + 8859part1 + + + + + ISO/IEC 8859-2, Information technology - 8-bit single byte coded graphic character sets - Part 2 : Latin alphabet No.2 + 8859part2 + + + + + ISO/IEC 8859-3, Information technology - 8-bit single byte coded graphic character sets - Part 3 : Latin alphabet No.3 + 8859part3 + + + + + ISO/IEC 8859-4, Information technology - 8-bit single byte coded graphic character sets - Part 4 : Latin alphabet No.4 + 8859part4 + + + + + ISO/IEC 8859-5, Information technology - 8-bit single byte coded graphic character sets - Part 5 : Latin/Cyrillic alphabet + 8859part5 + + + + + ISO/IEC 8859-6, Information technology - 8-bit single byte coded graphic character sets - Part 6 : Latin/Arabic alphabet + 8859part6 + + + + + ISO/IEC 8859-7, Information technology - 8-bit single byte coded graphic character sets - Part 7 : Latin/Greek alphabet + 8859part7 + + + + + ISO/IEC 8859-8, Information technology - 8-bit single byte coded graphic character sets - Part 8 : Latin/Hebrew alphabet + 8859part8 + + + + + ISO/IEC 8859-9, Information technology - 8-bit single byte coded graphic character sets - Part 9 : Latin alphabet No.5 + 8859part9 + + + + + ISO/IEC 8859-10, Information technology - 8-bit single byte coded graphic character sets - Part 10 : Latin alphabet No.6 + 8859part10 + + + + + ISO/IEC 8859-11, Information technology - 8-bit single byte coded graphic character sets - Part 11 : Latin/Thai alphabet + 8859part11 + + + + + + ISO/IEC 8859-13, Information technology - 8-bit single byte coded graphic character sets - Part 13 : Latin alphabet No.7 + 8859part13 + + + + + ISO/IEC 8859-14, Information technology - 8-bit single byte coded graphic character sets - Part 14 : Latin alphabet No.8 (Celtic) + 8859part14 + + + + + ISO/IEC 8859-15, Information technology - 8-bit single byte coded graphic character sets - Part 15 : Latin alphabet No.9 + 8859part15 + + + + + ISO/IEC 8859-16, Information technology - 8-bit single byte coded graphic character sets - Part 16 : Latin alphabet No.10 + 8859part16 + + + + + japanese code set used for electronic transmission + jis + + + + + japanese code set used on MS-DOS machines + shiftJIS + + + + + japanese code set used on UNIX based machines + eucJP + + + + + United States ASCII code set (ISO 646 US) + usAscii + + + + + IBM mainframe code set + ebcdic + + + + + Korean code set + eucKR + + + + + traditional Chinese code set used in Taiwan, Hong Kong of China and other areas + big5 + + + + + simplified Chinese code set + GB2312 + + + + + + + + name of the handling restrictions on the dataset + MD_ClassificationCode + + + available for general disclosure + unclassified + + + + + not for general disclosure + restricted + + + + + available for someone who can be entrusted with information + confidential + + + + + kept or meant to be kept private, unknown, or hidden from all but a select group of people + secret + + + + + of the highest secrecy + topSecret + + + + + + + + specific type of information represented in the cell + MD_CoverageContentTypeCode + + + meaningful numerical representation of a physical parameter that is not the actual value of the physical parameter + image + + + + + code value with no quantitative meaning, used to represent a physical quantity + thematicClassification + + + + + value in physical units of the quantity being measured + physicalMeasurement + + + + + + + + datatype of element or entity + MD_DatatypeCode + + + descriptor of a set of objects that share the same attributes, operations, methods, relationships, and behavior + class + + + + + + flexible enumeration useful for expressing a long list of values, can be extended + codelist + + + + + data type whose instances form a list of named literal values, not extendable + enumeration + + + + + permissible value for a codelist or enumeration + codelistElement + + + + + class that cannot be directly instantiated + abstractClass + + + + + class that is composed of classes it is connected to by an aggregate relationship + aggregateClass + + + + + subclass that may be substituted for its superclass + specifiedClass + + + + + class with few or no operations whose primary purpose is to hold the abstract state of another class for transmittal, storage, encoding or persistent storage + datatypeClass + + + + + named set of operations that characterize the behavior of an element + interfaceClass + + + + + class describing a selection of one of the specified types + unionClass + + + + + class whose instances are classes + metaClass + + + + + class used for specification of a domain of instances (objects), together with the operations applicable to the objects. A type may have attributes and associations + typeClass + + + + + free text field + characterString + + + + + numerical field + integer + + + + + semantic relationship between two classes that involves connections among their instances + association + + + + + + + + name of the dimension + MD_DimensionNameTypeCode + + + ordinate (y) axis + row + + + + + abscissa (x) axis + column + + + + + vertical (z) axis + vertical + + + + + along the direction of motion of the scan point + track + + + + + perpendicular to the direction of motion of the scan point + crossTrack + + + + + scan line of a sensor + line + + + + + element along a scan line + sample + + + + + duration + time + + + + + + + + name of point or vector objects used to locate zero-, one-, two-, or three-dimensional spatial locations in the dataset + MD_GeometricObjectTypeCode + + + set of geometric primitives such that their boundaries can be represented as a union of other primitives + complex + + + + + connected set of curves, solids or surfaces + composite + + + + + bounded, 1-dimensional geometric primitive, representing the continuous image of a line + curve + + + + + zero-dimensional geometric primitive, representing a position but not having an extent + point + + + + + bounded, connected 3-dimensional geometric primitive, representing the continuous image of a region of space + solid + + + + + bounded, connected 2-dimensional geometric primitive, representing the continuous image of a region of a plane + surface + + + + + + + + code which indicates conditions which may affect the image + MD_ImagingConditionCode + + + portion of the image is blurred + blurredImage + + + + + portion of the image is partially obscured by cloud cover + cloud + + + + + acute angle between the plane of the ecliptic (the plane of the Earth s orbit) and the plane of the celestial equator + degradingObliquity + + + + + portion of the image is partially obscured by fog + fog + + + + + portion of the image is partially obscured by heavy smoke or dust + heavySmokeOrDust + + + + + image was taken at night + night + + + + + image was taken during rainfall + rain + + + + + image was taken during semi-dark conditions -- twilight conditions + semiDarkness + + + + + portion of the image is obscured by shadow + shadow + + + + + portion of the image is obscured by snow + snow + + + + + the absence of collection data of a given point or area caused by the relative location of topographic features which obstruct the collection path between the collector(s) and the subject(s) of interest + terrainMasking + + + + + + + + methods used to group similar keywords + MD_KeywordTypeCode + + + keyword identifies a branch of instruction or specialized learning + discipline + + + + + keyword identifies a location + place + + + + + keyword identifies the layer(s) of any deposited substance + stratum + + + + + keyword identifies a time period related to the dataset + temporal + + + + + keyword identifies a particular subject or topic + theme + + + + + + + + frequency with which modifications and deletions are made to the data after it is first produced + MD_MaintenanceFrequencyCode + + + data is repeatedly and frequently updated + continual + + + + + data is updated each day + daily + + + + + data is updated on a weekly basis + weekly + + + + + data is updated every two weeks + fortnightly + + + + + data is updated each month + monthly + + + + + + + data is updated every three months + + quarterly + + + + + + data is updated twice each year + biannually + + + + + data is updated every year + annually + + + + + data is updated as deemed necessary + asNeeded + + + + + data is updated in intervals that are uneven in duration + irregular + + + + + there are no plans to update the data + notPlanned + + + + + frequency of maintenance for the data is not known + + unknown + + + + + + + + + method used to write to the medium + MD_MediumFormatCode + + + CoPy In / Out (UNIX file format and command) + cpio + + + + + Tape ARchive + tar + + + + + high sierra file system + highSierra + + + + + information processing volume and file structure of CD-ROM + iso9660 + + + + + rock ridge interchange protocol (UNIX) + iso9660RockRidge + + + + + hierarchical file system (Macintosh) + iso9660AppleHFS + + + + + + + + name of the medium + MD_MediumNameCode + + + read-only optical disk + cdRom + + + + + digital versatile disk + dvd + + + + + digital versatile disk, read only + dvdRom + + + + + 3,5 inch magnetic disk + 3halfInchFloppy + + + + + 5,25 inch magnetic disk + 5quarterInchFloppy + + + + + 7 track magnetic tape + 7trackTape + + + + + 9 track magnetic tape + 9trackType + + + + + 3480 cartridge tape drive + 3480Cartridge + + + + + 3490 cartridge tape drive + 3490Cartridge + + + + + 3580 cartridge tape drive + 3580Cartridge + + + + + 4 millimetre magnetic tape + 4mmCartridgeTape + + + + + 8 millimetre magnetic tape + 8mmCartridgeTape + + + + + 0,25 inch magnetic tape + 1quarterInchCartridgeTape + + + + + half inch cartridge streaming tape drive + digitalLinearTape + + + + + direct computer linkage + onLine + + + + + linkage through a satellite communication system + satellite + + + + + communication through a telephone network + telephoneLink + + + + + pamphlet or leaflet giving descriptive information + hardcopy + + + + + + + + obligation of the element or entity + MD_ObligationCode + + + element is always required + mandatory + + + + + element is not required + optional + + + + + element is required when a specific condition is met + conditional + + + + + + + + point in a pixel corresponding to the Earth location of the pixel + MD_PixelOrientationCode + + + point halfway between the lower left and the upper right of the pixel + center + + + + + the corner in the pixel closest to the origin of the SRS; if two are at the same distance from the origin, the one with the smallest x-value + lowerLeft + + + + + next corner counterclockwise from the lower left + lowerRight + + + + + next corner counterclockwise from the lower right + upperRight + + + + + next corner counterclockwise from the upper right + upperLeft + + + + + + + + status of the dataset or progress of a review + MD_ProgressCode + + + production of the data has been completed + completed + + + + + data has been stored in an offline storage facility + historicalArchive + + + + + data is no longer relevant + obsolete + + + + + data is continually being updated + onGoing + + + + + fixed date has been established upon or by which the data will be created or updated + planned + + + + + data needs to be generated or updated + required + + + + + data is currently in the process of being created + underDevelopment + + + + + + + + limitation(s) placed upon the access or use of the data + MD_RestrictionCode + + + exclusive right to the publication, production, or sale of the rights to a literary, dramatic, musical, or artistic work, or to the use of a commercial print or label, granted by law for a specified period of time to an author, composer, artist, distributor + copyright + + + + + government has granted exclusive right to make, sell, use or license an invention or discovery + patent + + + + + produced or sold information awaiting a patent + patentPending + + + + + a name, symbol, or other device identifying a product, officially registered and legally restricted to the use of the owner or manufacturer + trademark + + + + + formal permission to do something + license + + + + + rights to financial benefit from and control of distribution of non-tangible property that is a result of creativity + intellectualPropertyRights + + + + + withheld from general circulation or disclosure + restricted + + + + + limitation not listed + otherRestrictions + + + + + + + + class of information to which the referencing entity applies + MD_ScopeCode + + + information applies to the attribute class + attribute + + + + + information applies to the characteristic of a feature + attributeType + + + + + information applies to the collection hardware class + collectionHardware + + + + + information applies to the collection session + collectionSession + + + + + information applies to the dataset + dataset + + + + + information applies to the series + series + + + + + information applies to non-geographic data + nonGeographicDataset + + + + + information applies to a dimension group + dimensionGroup + + + + + information applies to a feature + feature + + + + + information applies to a feature type + featureType + + + + + information applies to a property type + propertyType + + + + + information applies to a field session + fieldSession + + + + + information applies to a computer program or routine + software + + + + + information applies to a capability which a service provider entity makes available to a service user entity through a set of interfaces that define a behaviour, such as a use case + service + + + + + information applies to a copy or imitation of an existing or hypothetical object + model + + + + + information applies to a tile, a spatial subset of geographic data + tile + + + + + + + + method used to represent geographic information in the dataset + MD_SpatialRepresentationTypeCode + + + vector data is used to represent geographic data + vector + + + + + grid data is used to represent geographic data + grid + + + + + textual or tabular data is used to represent geographic data + textTable + + + + + triangulated irregular network + tin + + + + + three-dimensional view formed by the intersecting homologous rays of an overlapping pair of images + stereoModel + + + + + scene from a video recording + video + + + + + + + + high-level geographic data thematic classification to assist in the grouping and search of available geographic data sets. Can be used to group keywords as well. Listed examples are not exhaustive. + MD_TopicCategoryCode + + + rearing of animals and/or cultivation of plants. Examples: agriculture, irrigation, aquaculture, plantations, herding, pests and diseases affecting crops and livestock + farming + + + + + flora and/or fauna in natural environment. Examples: wildlife, vegetation, biological sciences, ecology, wilderness, sealife, wetlands, habitat + biota + + + + + legal land descriptions. Examples: political and administrative boundaries + boundaries + + + + + processes and phenomena of the atmosphere. Examples: cloud cover, weather, climate, atmospheric conditions, climate change, precipitation + climatologyMeteorologyAtmosphere + + + + + economic activities, conditions and employment. Examples: production, labour, revenue, commerce, industry, tourism and ecotourism, forestry, fisheries, commercial or subsistence hunting, exploration and exploitation of resources such as minerals, oil and gas + economy + + + + + height above or below sea level. Examples: altitude, bathymetry, digital elevation models, slope, derived products + elevation + + + + + environmental resources, protection and conservation. Examples: environmental pollution, waste storage and treatment, environmental impact assessment, monitoring environmental risk, nature reserves, landscape + environment + + + + + information pertaining to earth sciences. Examples: geophysical features and processes, geology, minerals, sciences dealing with the composition, structure and origin of the earth s rocks, risks of earthquakes, volcanic activity, landslides, gravity information, soils, permafrost, hydrogeology, erosion + geoscientificInformation + + + + + health, health services, human ecology, and safety. Examples: disease and illness, factors affecting health, hygiene, substance abuse, mental and physical health, health services + health + + + + + base maps. Examples: land cover, topographic maps, imagery, unclassified images, annotations + imageryBaseMapsEarthCover + + + + + military bases, structures, activities. Examples: barracks, training grounds, military transportation, information collection + intelligenceMilitary + + + + + inland water features, drainage systems and their characteristics. Examples: rivers and glaciers, salt lakes, water utilization plans, dams, currents, floods, water quality, hydrographic charts + inlandWaters + + + + + positional information and services. Examples: addresses, geodetic networks, control points, postal zones and services, place names + location + + + + + features and characteristics of salt water bodies (excluding inland waters). Examples: tides, tidal waves, coastal information, reefs + oceans + + + + + information used for appropriate actions for future use of the land. Examples: land use maps, zoning maps, cadastral surveys, land ownership + planningCadastre + + + + + characteristics of society and cultures. Examples: settlements, anthropology, archaeology, education, traditional beliefs, manners and customs, demographic data, recreational areas and activities, social impact assessments, crime and justice, census information + society + + + + + man-made construction. Examples: buildings, museums, churches, factories, housing, monuments, shops, towers + structure + + + + + means and aids for conveying persons and/or goods. Examples: roads, airports/airstrips, shipping routes, tunnels, nautical charts, vehicle or vessel location, aeronautical charts, railways + transportation + + + + + energy, water and waste systems and communications infrastructure and services. Examples: hydroelectricity, geothermal, solar and nuclear sources of energy, water purification and distribution, sewage collection and disposal, electricity and gas distribution, data communication, telecommunication, radio, communication networks + utilitiesCommunication + + + + + + + + degree of complexity of the spatial relationships + MD_TopologyLevelCode + + + geometry objects without any additional structure which describes topology + geometryOnly + + + + + 1-dimensional topological complex -- commonly called chain-node topology + topology1D + + + + + 1-dimensional topological complex that is planar. (A planar graph is a graph that can be drawn in a plane in such a way that no two edges intersect except at a vertex.) + planarGraph + + + + + 2-dimensional topological complex that is planar. (A 2-dimensional topological complex is commonly called full topology in a cartographic 2D environment.) + fullPlanarGraph + + + + + 1-dimensional topological complex that is isomorphic to a subset of a surface. (A geometric complex is isomorphic to a topological complex if their elements are in a one-to-one, dimensional-and boundry-preserving correspondence to one another.) + surfaceGraph + + + + + 2-dimensional topological complex that is isomorphic to a subset of a surface + fullSurfaceGraph + + + + + 3-dimensional topological complex. (A topological complex is a collection of topological primitives that are closed under the boundary operations.) + topology3D + + + + + complete coverage of a 3D Euclidean coordinate space + fullTopology3D + + + + + topological complex without any specified geometric realisation + abstract + + + + + + + + Extension of MD_ScopeCode for the needs of GMX application schemas and in the context of a transfer + MX_ScopeCode + + + + information applies to the attribute class + attribute + + + + + information applies to the characteristic of a feature + attributeType + + + + + information applies to the collection hardware class + collectionHardware + + + + + information applies to the collection session + collectionSession + + + + + information applies to the dataset + dataset + + + + + information applies to the series + series + + + + + information applies to non-geographic data + nonGeographicDataset + + + + + information applies to a dimension group + dimensionGroup + + + + + information applies to a feature + feature + + + + + information applies to a feature type + featureType + + + + + information applies to a property type + propertyType + + + + + information applies to a field session + fieldSession + + + + + information applies to a computer program or routine + software + + + + + information applies to a capability which a service provider entity makes available to a service user entity through a set of interfaces that define a behaviour, such as a use case + service + + + + + information applies to a copy or imitation of an existing or hypothetical object + model + + + + + information applies to a tile, a spatial subset of geographic data + tile + + + + + + The referencing entity applies to a transfer aggregate which was originally identified as an initiative (DS_Initiative) + initiative + + + + + The referencing entity applies to a transfer aggregate which was originally identified as a stereo mate (DS_StereoMate) + stereomate + + + + + The referencing entity applies to a transfer aggregate which was originally identified as a sensor (DS_Sensor) + sensor + + + + + The referencing entity applies to a transfer aggregate which was originally identified as a platform series (DS_PlatformSeries) + platformSeries + + + + + The referencing entity applies to a transfer aggregate which was originally identified as a sensor series (DS_SensorSeries) + sensorSeries + + + + + The referencing entity applies to a transfer aggregate which was originally identified as a production series (DS_ProductionSeries) + productionSeries + + + + + The referencing entity applies to a transfer aggregate which has no existence outside of the transfer context + transferAggregate + + + + + The referencing entity applies to a transfer aggregate which has an existence outside of the transfer context, but which does not pertains to a specific aggregate type. + otherAggregate + + + + + + diff --git a/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/iso/19139/20070417/resources/codelist/tcCodelists.xml b/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/iso/19139/20070417/resources/codelist/tcCodelists.xml new file mode 100644 index 00000000..aec0666c --- /dev/null +++ b/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/iso/19139/20070417/resources/codelist/tcCodelists.xml @@ -0,0 +1,63 @@ + + + + + + tcCodelists + + + Codelists used in the type catalogue schema + + + Type catalogues + + + 0.1 + + + 2007-06-14 + + + + + + + specifies aggregation semantics: specifies whether the value of each property is a single value ("noAggregation") which is the default case or if a single property instance has an aggregate value in which case the value specifies the aggregation type ("bag", "set", "sequence"). Note that this value is independent from the cardinality. + TC_AggregationType + + + single value - no aggregation (default) + noAggregation + + + + + aggregation semantics: bag + bag + + + + + aggregation semantics: set + set + + + + + aggregation semantics: sequence (ordered bag) + sequence + + + + + diff --git a/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/iso/19139/20070417/resources/crs/ML_gmxCrs.xml b/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/iso/19139/20070417/resources/crs/ML_gmxCrs.xml new file mode 100644 index 00000000..c082d761 --- /dev/null +++ b/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/iso/19139/20070417/resources/crs/ML_gmxCrs.xml @@ -0,0 +1,179 @@ + + + + + + + ML_gmxCrs + + + CRS catalogue for description of gmx metadata dataset + + + Catalogue des paramètres géodésiques pour la description de jeux de métadonnées conformes aux schémas gmx + + + + + GMX (and imported) namespace + + + 0.0 + + + 2005-03-29 + + + + + English + + + UTF 8 + + + + + + French + + + France + + + UTF 8 + + + + + + + + + + 4326 + WGS84G + World Geodetic System 1984 + + + + + + + + World + + + + + + + + not known + + + + + + 4326 + WGS84G + WGS 1984 + + + + + + + + Monde + + + + + + + + inconnu + + + + + + + + + + 6422 + ellipsoidal2Ddeg + + + + + + + + + 9901 + Geodetic latitude + Lat + North + + + + + + 9902 + Geodetic longitude + Lon + East + + + + + + + 6326 + World Geodetic System 1984 + not known + + + + + + + + + 7030 + WGS 84 + 6378137 + + + 298.2572 + + + + + + + + + 8901 + Greenwich + 0 + + + + + + diff --git a/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/iso/19139/20070417/resources/crs/gmxCrs.xml b/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/iso/19139/20070417/resources/crs/gmxCrs.xml new file mode 100644 index 00000000..4f7e07c7 --- /dev/null +++ b/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/iso/19139/20070417/resources/crs/gmxCrs.xml @@ -0,0 +1,287 @@ + + + + + + gmxCrs + + + CRS parameters dictionary + + + GMX (and imported) namespace + + + 0.0 + + + 2005-03-18 + + + + + + + + 4326 + WGS84G + World Geodetic System 1984 + + + + + + + + World: Afghanistan, Albania, Algeria, American Samoa, Andorra, Angola, Anguilla, Antarctica, Antigua and Barbuda, Argentina, Armenia, Aruba, Australia, + Austria, Azerbaijan, Bahamas, Bahrain, Bangladesh, Barbados, Belgium, Belgium, Belize, Benin, Bermuda, Bhutan, Bolivia, Bosnia and Herzegowina, + Botswana, Bouvet Island, Brazil, British Indian Ocean Territory, British Virgin Islands, Brunei Darussalam, Bulgaria, Burkina Faso, Burundi, Cambodia, + Cameroon, Canada, Cape Verde, Cayman Islands, Central African Republic, Chad, Chile, China, Christmas Island, Cocos (Keeling) Islands, Comoros, + Congo, Cook Islands, Costa Rica, Côte d'Ivoire (Ivory Coast), Croatia, Cuba, Cyprus, Czech Republic, Denmark, Djibouti, Dominica, Dominican Republic, + East Timor, Ecuador, Egypt, El Salvador, Equatorial Guinea, Eritrea, Estonia, Ethiopia, Falkland Islands (Malvinas), Faroe Islands, Fiji, Finland, France, + French Guiana, French Polynesia, French Southern Territories, Gabon, Gambia, Georgia, Germany, Ghana, Gibraltar, Greece, Greenland, Grenada, + Guadeloupe, Guam, Guatemala, Guinea, Guinea-Bissau, Guyana, Haiti, Heard Island and McDonald Islands, Holy See (Vatican City State), Honduras, China + - Hong Kong, Hungary, Iceland, India, Indonesia, Islamic Republic of Iran, Iraq, Ireland, Israel, Italy, Jamaica, Japan, Jordan, Kazakstan, Kenya, Kiribati, + Democratic People's Republic of Korea (North Korea), Republic of Korea (South Korea), Kuwait, Kyrgyzstan, Lao People's Democratic Republic (Laos), + Latvia, Lebanon, Lesotho, Liberia, Libyan Arab Jamahiriya, Liechtenstein, Lithuania, Luxembourg, China - Macau, The Former Yugoslav Republic of + Macedonia, Madagascar, Malawi, Malaysia, Maldives, Mali, Malta, Marshall Islands, Martinique, Mauritania, Mauritius, Mayotte, Mexico, Federated States + of Micronesia, Monaco, Mongolia, Montserrat, Morocco, Mozambique, Myanmar (Burma), Namibia, Nauru, Nepal, Netherlands, Netherlands Antilles, New + Caledonia, New Zealand, Nicaragua, Niger, Nigeria, Niue, Norfolk Island, Northern Mariana Islands, Norway, Oman, Pakistan, Palau, Panama, Papua New + Guinea (PNG), Paraguay, Peru, Philippines, Pitcairn, Poland, Portugal, Puerto Rico, Qatar, Reunion, Romania, Russian Federation, Rwanda, Saint Kitts and + Nevis, Saint Lucia, Saint Vincent and the Grenadines, Samoa, San Marino, Sao Tome and Principe, Saudi Arabia, Senegal, Seychelles, Sierra Leone, + Singapore, Slovakia (Slovak Republic), Slovenia, Solomon Islands, Somalia, South Africa, South Georgia and the South Sandwich Islands, Spain, Sri Lanka, + Saint Helena, Saint Pierre and Miquelon, Sudan, Suriname, Svalbard and Jan Mayen, Swaziland, Sweden, Switzerland, Syrian Arab Republic, Taiwan, + Tajikistan, United Republic of Tanzania, Thailand, The Democratic Republic of the Congo (Zaire), Togo, Tokelau, Tonga, Trinidad and Tobago, Tunisia, + Turkey, Turkmenistan, Turks and Caicos Islands, Tuvalu, Uganda, Ukraine, United Arab Emirates (UAE), United Kingdom (UK), United States (USA), + United States Minor Outlying Islands, Uruguay, Uzbekistan, Vanuatu, Venezuela, Vietnam, US Virgin Islands, Wallis and Futuna, Western Sahara, Yemen, + Yugoslavia - Union of Serbia and Montenegro, Zambia, Zimbabwe. + + + + + + + + not known + + + + + + + + 32638 + UTM38W84 + WGS 84 / UTM zone 38N + + + + + + + + Between 42 and 48 deg East; northern hemisphere. Armenia. Azerbaijan. Djibouti. Eritrea. Ethiopia. Georgia. Islamic Republic of Iran. Iraq. Kazakstan. Kuwait. Russian Federation. Saudi Arabia. Somalia. Tukey. Yemen. + + + + + + + + not known + + + + + + + + + + + Ellipsoidal 2D CS. Axes: latitude, longitude. Orientations: north, east. UoM: deg + 6422 + CS ellipsoidal2D + + + + + + + + Cartesian 2D CS. Axes: easting, northing (E,N). Orientations: east, north. UoM: m. + 4400 + Cs cartesian2D + + + + + + + + + 9901 + Geodetic latitude + Lat + North + + + + + + 9902 + Geodetic longitude + Lon + East + + + + + + 9907 + Northing + N + North + + + + + + 9906 + Easting + E + east + + + + + + + 6326 + World Geodetic System 1984 + not known + + + + + + + + + 7030 + WGS 84 + 6378137 + + + 298.2572 + + + + + + + + + 8901 + Greenwich + 0 + + + + + + 16038 + UTM Zone 38 N + not known + + + + 0 + + + + + + 45 + + + + + + 0.9996 + + + + + + 500000 + + + + + + 0 + + + + + + + + + 9807 + PRCM040 + Transverse Mercator + Transverse Mercator + 2 + 2 + + + + + + + + + + + 8801 + Latitude of natural origin + + + + + 8802 + Longitude of natural origin + + + + + 8805 + Scale factor at natural origin + + + + + 8806 + False Easting + + + + + 8807 + False Northing + + + diff --git a/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/iso/19139/20070417/resources/example/fr-fr.xml b/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/iso/19139/20070417/resources/example/fr-fr.xml new file mode 100644 index 00000000..98d928f8 --- /dev/null +++ b/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/iso/19139/20070417/resources/example/fr-fr.xml @@ -0,0 +1,83 @@ + + + + + + + France-France + + + + + + French + + + FR + + + UTF 8 + + + + + + + + 2005-03-18 + + + création + + + + + + + 2006-02-03 + + + révision + + + + + + + + french translation team + + + auteur + + + + + + + + + Résumé succint du contenu du jeu de données + + + + + + + + + + + + + diff --git a/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/iso/19139/20070417/resources/uom/ML_gmxUom.xml b/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/iso/19139/20070417/resources/uom/ML_gmxUom.xml new file mode 100644 index 00000000..97101907 --- /dev/null +++ b/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/iso/19139/20070417/resources/uom/ML_gmxUom.xml @@ -0,0 +1,125 @@ + + + + + + uom + + + units of measure dictionary compliant with SI definitions + + + dictionnaire d'unités de mesure conforme avec les définitions du Système International (SI) + + + + + GMX (and imported) namespace + + + 0.0 + + + 2005-06-18 + + + + + English + + + UTF 8 + + + + + + French + + + France + + + UTF 8 + + + + + + + + + + The metre is the length of the path travelled by ligth in vaccum during a time interval of 1/299 792 458 of a second + metre + length + m + + + + + unité de longueur de référence dans le système international, correspond à la distance parcourue par la lumière dans le vide pendant 1/299 792 458 seconde + metre + mètre + longueur + + + + + + + + + + Measure of angle equal to Pi/180 radians, widely used in geography + degree + angle + + 1.74532925199433E-02 + + + + + Unité d'angle de référence en géographie égale à Pi/180 radians. + degree + degré + angle + + + + + + + + + Radian is an unit of angle measure. It is defined as the ratio of arc length to the radius of the circle. + radian + plane angle + rad + + + + + + Le radian est une unité de mesaure angulaire définie comme le ratio entre le rayon et la longueur de l'arc. + radian + radian + angle planaire + + + + + + + diff --git a/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/iso/19139/20070417/resources/uom/gmxUom.xml b/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/iso/19139/20070417/resources/uom/gmxUom.xml new file mode 100644 index 00000000..ad0eaebc --- /dev/null +++ b/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/iso/19139/20070417/resources/uom/gmxUom.xml @@ -0,0 +1,66 @@ + + + + + + gmxUom + + + units of measure dictionary compliant with SI definitions + + + ISO/TC 211 GMX (and imported) namespace + + + 0.0 + + + 2005-03-18 + + + + + + + + The metre is the length of the path travelled by ligth in vaccum during a time interval of 1/299 792 458 of a second + metre + length + m + + + + + + + Measure of angle equal to Pi/180 radians, widely used in geography + degree + angle + + 1.74532925199433E-02 + + + + + + + Radian is an unit of angle measure. It is defined as the ratio of arc length to the radius of the circle. + radian + plane angle + rad + + + + + + diff --git a/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/iso/19139/20070417/srv/1.0/serviceMetadata.xsd b/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/iso/19139/20070417/srv/1.0/serviceMetadata.xsd new file mode 100644 index 00000000..8ccf0d23 --- /dev/null +++ b/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/iso/19139/20070417/srv/1.0/serviceMetadata.xsd @@ -0,0 +1,215 @@ + + + + + 2018-03-21 Revert namespace to http://www.isotc211.org/2005/srv while version remains at 1.0.1 . + 2018-03-01 Change namespace to http://www.opengis.net/iso/19139/20070417/srv/1.0 and update version to 1.0.1 . + 2013-05-24 Add include statement for srv.xsd to ensure that the full namespace will be imported even if it is imported using serviceMetadata.xsd instead of the root schema. + 2013-05-24 Update of schemalocation statements to refer to ISO/TC 211 XML Schemas available on http://standards.iso.org/ittf/PubliclyAvailableStandards. This includes the adoption of W3C implementation of Xlink: http://www.w3.org/1999/xlink.xsd. + 2009-03-02 Made conformant with OGC published GML 3.2.1 schemas from OGC 07-036 (schemas repository http://schemas.opengis.net/) + 2009-03-02 Addition of gco:ScopedName to SV_CoupledResource + 2007-11-26 The gmd namespace is now imported by a reference to the root xsd file of gmd, gmd.xsd, instead of identification.xsd. + 2006-11-15 Modification of the maximum cardinality of SV_ServiceIdentification.restrictions to n to allow the description of both legal and security constraints. + 2006-11-15 Property order in SV_ServiceIdentification: couplingType (mandatory) is now implemented before coupledResource (optional). + 2006-11-15 Modification of the maximum cardinality to n for SV_ServiceSpecification.typeSpec and SV_PlatformNeutralServiceSpecification.implSpec as a way to implement the qualifiers on these relationships. + 2006-11-15 Removal of the inheritance relationships between SV_ServiceSpecification, SV_PlatformNeutralServiceSpecification and SV_PlatformSpecificServiceSpecification that were primarily intended as a way to share the two attributes name and opModel of the supertype SV_ServiceSpecification and not its relationship to SV_Interface. A new abstract type SV_AbstractServiceSpecification with two attributes name and opModel has been created; SV_ServiceSpecification, SV_PlatformNeutralServiceSpecification and SV_PlatformSpecificServiceSpecification now derive from this abstract type. The aggregation relationships between these three types are maintained. + 2006-10-13 This file was generated from ISO TC/211 UML class diagrams. It is based on document 211n1977 (Text of ISO 19119:2005 Amd. 1, Geographic information - Services, Amendment 1), as sent to ISO for further processing. This includes the creation of 2 types (SV_CouplingType and SV_CoupledResource), the addition of 3 properties for SV_ServiceIdentification (extent, couplingType and coupledResource) and the removal of the type SV_ServiceProvider. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/iso/19139/20070417/srv/1.0/serviceModel.xsd b/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/iso/19139/20070417/srv/1.0/serviceModel.xsd new file mode 100644 index 00000000..719ff3cc --- /dev/null +++ b/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/iso/19139/20070417/srv/1.0/serviceModel.xsd @@ -0,0 +1,235 @@ + + + + + 2018-03-21 Revert namespace to http://www.isotc211.org/2005/srv while version remains at 1.0.1 . + 2018-03-01 Change namespace to http://www.opengis.net/iso/19139/20070417/srv/1.0 and update version to 1.0.1 . + 2013-05-24 Add include statement for srv.xsd to ensure that the full namespace will be imported even if it is imported using serviceModel.xsd instead of the root schema. + 2013-05-24 Update of schemalocation statements to refer to ISO/TC 211 XML Schemas available on http://standards.iso.org/ittf/PubliclyAvailableStandards. This includes the adoption of W3C implementation of Xlink: http://www.w3.org/1999/xlink.xsd. + 2009-03-02 Made conformant with OGC published GML 3.2.1 schemas from OGC 07-036 (schemas repository http://schemas.opengis.net/). + 2006-10-13 This file was generated from ISO TC/211 UML class diagrams. It is based on document 211n1977 (Text of ISO 19119:2005 Amd. 1, Geographic information - Services, Amendment 1), as sent to ISO for further processing. See seriveMetadata.xsd + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/iso/19139/20070417/srv/1.0/srv.xsd b/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/iso/19139/20070417/srv/1.0/srv.xsd new file mode 100644 index 00000000..e4b98839 --- /dev/null +++ b/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/iso/19139/20070417/srv/1.0/srv.xsd @@ -0,0 +1,18 @@ + + + + + 2018-03-21 Revert namespace to http://www.isotc211.org/2005/srv while version remains at 1.0.1 . + 2018-03-01 Change namespace to http://www.opengis.net/iso/19139/20070417/srv/1.0 and update version to 1.0.1 . + 2013-05-24 Update of schemalocation statements to refer to ISO/TC 211 XML Schemas available on http://standards.iso.org/ittf/PubliclyAvailableStandards. This includes the adoption of W3C implementation of Xlink: http://www.w3.org/1999/xlink.xsd. + 2009-03-02 Made conformant with OGC published GML 3.2.1 schemas from OGC 07-036 (schemas repository http://schemas.opengis.net/). Change applied to servicelMetadata.xsd + 2007-11-26 See serviceMetadata.xsd + 2006-11-15 See serviceMetadata.xsd + 2006-10-13 This file was generated from ISO TC/211 UML class diagrams. It is based on document 211n1977 (Text of ISO 19119:2005 Amd. 1, Geographic information - Services, Amendment 1), as sent to ISO for further processing. See seriveMetadata.xsd + + + + + + + diff --git a/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/iso/19139/20070417/srv/ReadMe.txt b/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/iso/19139/20070417/srv/ReadMe.txt new file mode 100644 index 00000000..497f69a3 --- /dev/null +++ b/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/iso/19139/20070417/srv/ReadMe.txt @@ -0,0 +1,40 @@ +SRV schema ReadMe.txt +============================================================= + +Geographic Information -- Services (SRV) + +Based on ISO 19119:2005/Amd 1:2008. + +The most current schema are available at http://schemas.opengis.net/ . + +----------------------------------------------------------------------- + +2018-03-21 Kevin Stegemoller + * v1.0.1: revert namespace from + http://www.opengis.net/iso/19139/20070417/srv/1.0 + to http://www.isotc211.org/2005/srv + * v1.0.1: xsd:schema/@version attribute held at 1.0.1 (06-135r11 s#13.4) + +2018-03-09 Uwe Voges, Kristian Senkler + * v1.0.1: Published CSW 2.0.2 ISO Application Profile 1.0.1 + including Geographic Information -- Services (SRV) + based on ISO 19119:2005/Amd 1:2008. + See OGC 07-045r1 + +2018-03-09 Kevin Stegemoller + * v1.0.1: change namespace from http://www.isotc211.org/2005/srv + to http://www.opengis.net/iso/19139/20070417/srv/1.0 + * v1.0.1: updated xsd:schema/@version attribute to 1.0.1 (06-135r11 s#13.4) + * v1.0.1: change import of srv.xsd from relative to absolute (06-135r11 s#15) + at http://schemas.opengis.net/iso/19139/20070417/srv/1.0/srv.xsd + * v1.0.1: update/verify copyright (06-135r11 s#3.2) + * v1.0.1: add xs:documentation describing changes + +----------------------------------------------------------------------- + +Policies, Procedures, Terms, and Conditions of OGC(r) are available at + http://www.opengeospatial.org/ogc/legal/ . + +Copyright (c) 2018 Open Geospatial Consortium. + +----------------------------------------------------------------------- diff --git a/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/message/ADR_Message.xsd b/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/message/ADR_Message.xsd new file mode 100644 index 00000000..5d515dd6 --- /dev/null +++ b/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/message/ADR_Message.xsd @@ -0,0 +1,39 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/message/AIXM_BasicMessage.xsd b/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/message/AIXM_BasicMessage.xsd new file mode 100644 index 00000000..a5c7e888 --- /dev/null +++ b/XmlSchemaClassGenerator.Tests/xsd/aixm/aixm-5.1.1/message/AIXM_BasicMessage.xsd @@ -0,0 +1,59 @@ + + + + + + + + + + + + + + + + Basic Message.xsd + The definition of a simple data product, that contains just a collection of AIXM features. + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/XmlSchemaClassGenerator.Tests/xsd/aixm/xlink/xlink.xsd b/XmlSchemaClassGenerator.Tests/xsd/aixm/xlink/xlink.xsd new file mode 100644 index 00000000..b14db14f --- /dev/null +++ b/XmlSchemaClassGenerator.Tests/xsd/aixm/xlink/xlink.xsd @@ -0,0 +1,270 @@ + + + + + This schema document provides attribute declarations and +attribute group, complex type and simple type definitions which can be used in +the construction of user schemas to define the structure of particular linking +constructs, e.g. + + + + + + + ... + + ... + + + ... +]]> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Intended for use as the type of user-declared elements to make them + simple links. + + + + + + + + + + + + + + + + + + + + + + + + + Intended for use as the type of user-declared elements to make them + extended links. + Note that the elements referenced in the content model are all abstract. + The intention is that by simply declaring elements with these as their + substitutionGroup, all the right things will happen. + + + + + + + + + + + + + + xml:lang is not required, but provides much of the + motivation for title elements in addition to attributes, and so + is provided here for convenience. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + label is not required, but locators have no particular + XLink function if they are not labeled. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + from and to have default behavior when values are missing + + + + + + + + + + + + + + + + + diff --git a/XmlSchemaClassGenerator.Tests/xsd/aixm/xlink/xml.xsd b/XmlSchemaClassGenerator.Tests/xsd/aixm/xlink/xml.xsd new file mode 100644 index 00000000..aea7d0db --- /dev/null +++ b/XmlSchemaClassGenerator.Tests/xsd/aixm/xlink/xml.xsd @@ -0,0 +1,287 @@ + + + + + + +
+

About the XML namespace

+ +
+

+ This schema document describes the XML namespace, in a form + suitable for import by other schema documents. +

+

+ See + http://www.w3.org/XML/1998/namespace.html and + + http://www.w3.org/TR/REC-xml for information + about this namespace. +

+

+ Note that local names in this namespace are intended to be + defined only by the World Wide Web Consortium or its subgroups. + The names currently defined in this namespace are listed below. + They should not be used with conflicting semantics by any Working + Group, specification, or document instance. +

+

+ See further below in this document for more information about how to refer to this schema document from your own + XSD schema documents and about the + namespace-versioning policy governing this schema document. +

+
+
+
+
+ + + + +
+ +

lang (as an attribute name)

+

+ denotes an attribute whose value + is a language code for the natural language of the content of + any element; its value is inherited. This name is reserved + by virtue of its definition in the XML specification.

+ +
+
+

Notes

+

+ Attempting to install the relevant ISO 2- and 3-letter + codes as the enumerated possible values is probably never + going to be a realistic possibility. +

+

+ See BCP 47 at + http://www.rfc-editor.org/rfc/bcp/bcp47.txt + and the IANA language subtag registry at + + http://www.iana.org/assignments/language-subtag-registry + for further information. +

+

+ The union allows for the 'un-declaration' of xml:lang with + the empty string. +

+
+
+
+ + + + + + + + + +
+ + + + +
+ +

space (as an attribute name)

+

+ denotes an attribute whose + value is a keyword indicating what whitespace processing + discipline is intended for the content of the element; its + value is inherited. This name is reserved by virtue of its + definition in the XML specification.

+ +
+
+
+ + + + + + +
+ + + +
+ +

base (as an attribute name)

+

+ denotes an attribute whose value + provides a URI to be used as the base for interpreting any + relative URIs in the scope of the element on which it + appears; its value is inherited. This name is reserved + by virtue of its definition in the XML Base specification.

+ +

+ See http://www.w3.org/TR/xmlbase/ + for information about this attribute. +

+
+
+
+
+ + + + +
+ +

id (as an attribute name)

+

+ denotes an attribute whose value + should be interpreted as if declared to be of type ID. + This name is reserved by virtue of its definition in the + xml:id specification.

+ +

+ See http://www.w3.org/TR/xml-id/ + for information about this attribute. +

+
+
+
+
+ + + + + + + + + + +
+ +

Father (in any context at all)

+ +
+

+ denotes Jon Bosak, the chair of + the original XML Working Group. This name is reserved by + the following decision of the W3C XML Plenary and + XML Coordination groups: +

+
+

+ In appreciation for his vision, leadership and + dedication the W3C XML Plenary on this 10th day of + February, 2000, reserves for Jon Bosak in perpetuity + the XML name "xml:Father". +

+
+
+
+
+
+ + + +
+

About this schema document

+ +
+

+ This schema defines attributes and an attribute group suitable + for use by schemas wishing to allow xml:base, + xml:lang, xml:space or + xml:id attributes on elements they define. +

+

+ To enable this, such a schema must import this schema for + the XML namespace, e.g. as follows: +

+
+          <schema . . .>
+           . . .
+           <import namespace="http://www.w3.org/XML/1998/namespace"
+                      schemaLocation="http://www.w3.org/2001/xml.xsd"/>
+     
+

+ or +

+
+           <import namespace="http://www.w3.org/XML/1998/namespace"
+                      schemaLocation="http://www.w3.org/2009/01/xml.xsd"/>
+     
+

+ Subsequently, qualified reference to any of the attributes or the + group defined below will have the desired effect, e.g. +

+
+          <type . . .>
+           . . .
+           <attributeGroup ref="xml:specialAttrs"/>
+     
+

+ will define a type which will schema-validate an instance element + with any of those attributes. +

+
+
+
+
+ + + +
+

Versioning policy for this schema document

+
+

+ In keeping with the XML Schema WG's standard versioning + policy, this schema document will persist at + + http://www.w3.org/2009/01/xml.xsd. +

+

+ At the date of issue it can also be found at + + http://www.w3.org/2001/xml.xsd. +

+

+ The schema document at that URI may however change in the future, + in order to remain compatible with the latest version of XML + Schema itself, or with the XML namespace itself. In other words, + if the XML Schema or XML namespaces change, the version of this + document at + http://www.w3.org/2001/xml.xsd + + will change accordingly; the version at + + http://www.w3.org/2009/01/xml.xsd + + will not change. +

+

+ Previous dated (and unchanging) versions of this schema + document are at: +

+ +
+
+
+
+ +
+ diff --git a/XmlSchemaClassGenerator.Tests/xsd/simple/windows1250.xsd b/XmlSchemaClassGenerator.Tests/xsd/simple/windows1250.xsd new file mode 100644 index 00000000..5845eec3 --- /dev/null +++ b/XmlSchemaClassGenerator.Tests/xsd/simple/windows1250.xsd @@ -0,0 +1,15 @@ + + + + + + + + + + diff --git a/XmlSchemaClassGenerator/CodeUtilities.cs b/XmlSchemaClassGenerator/CodeUtilities.cs index b46915b1..b75114e4 100644 --- a/XmlSchemaClassGenerator/CodeUtilities.cs +++ b/XmlSchemaClassGenerator/CodeUtilities.cs @@ -329,6 +329,23 @@ public static string GetUniqueFieldName(this TypeModel typeModel, PropertyModel return string.Format("{0}{1}", propBackingFieldName, i); } + public static string GetUniquePropertyName(this TypeModel tm, string name) + { + if (tm is ClassModel cls) + { + var i = 0; + var n = name; + var baseClasses = cls.AllBaseClasses.ToList(); + + while (baseClasses.SelectMany(b => b.Properties).Any(p => p.Name == n)) + n = name + (++i); + + return n; + } + + return name; + } + static readonly Regex NormalizeNewlinesRegex = new Regex(@"(^|[^\r])\n", RegexOptions.Compiled); internal static string NormalizeNewlines(string text) diff --git a/XmlSchemaClassGenerator/Generator.cs b/XmlSchemaClassGenerator/Generator.cs index c859e1c3..9ac725f2 100644 --- a/XmlSchemaClassGenerator/Generator.cs +++ b/XmlSchemaClassGenerator/Generator.cs @@ -3,6 +3,7 @@ using System.Collections.Generic; using System.Diagnostics; using System.Linq; +using System.Text; using System.Xml; using System.Xml.Schema; @@ -252,6 +253,17 @@ public bool SeparateClasses set { _configuration.SeparateClasses = value; } } + public bool SeparateSubstitutes + { + get { return _configuration.SeparateSubstitutes; } + set { _configuration.SeparateSubstitutes = value; } + } + + static Generator() + { + Encoding.RegisterProvider(CodePagesEncodingProvider.Instance); + } + public void Generate(IEnumerable files) { var set = new XmlSchemaSet(); diff --git a/XmlSchemaClassGenerator/GeneratorConfiguration.cs b/XmlSchemaClassGenerator/GeneratorConfiguration.cs index e6d2e207..1c4a1df0 100644 --- a/XmlSchemaClassGenerator/GeneratorConfiguration.cs +++ b/XmlSchemaClassGenerator/GeneratorConfiguration.cs @@ -269,5 +269,10 @@ public void WriteLog(string message) /// Separates each class into an individual file /// public bool SeparateClasses { get; set; } = false; + + /// + /// Generates a separate property for each element of a substitution group + /// + public bool SeparateSubstitutes { get; set; } = false; } } diff --git a/XmlSchemaClassGenerator/ModelBuilder.cs b/XmlSchemaClassGenerator/ModelBuilder.cs index 5684db66..c5259b06 100644 --- a/XmlSchemaClassGenerator/ModelBuilder.cs +++ b/XmlSchemaClassGenerator/ModelBuilder.cs @@ -16,10 +16,11 @@ internal class ModelBuilder private readonly Dictionary Groups; private readonly Dictionary Namespaces = new Dictionary(); private readonly Dictionary Types = new Dictionary(); + private readonly Dictionary> SubstitutionGroups = new Dictionary>(); private static readonly XmlQualifiedName AnyType = new XmlQualifiedName("anyType", XmlSchema.Namespace); - private string BuildKey(XmlSchemaAnnotated annotated, XmlQualifiedName name) + private string BuildKey(XmlSchemaAnnotated annotated, XmlQualifiedName name) => $"{annotated.GetType()}:{annotated.SourceUri}:{annotated.LineNumber}:{annotated.LinePosition}:{name}"; public ModelBuilder(GeneratorConfiguration configuration, XmlSchemaSet set) @@ -63,6 +64,8 @@ public ModelBuilder(GeneratorConfiguration configuration, XmlSchemaSet set) CreateElements(elements); } + CreateSubstitutes(); + if (configuration.GenerateInterfaces) { RenameInterfacePropertiesIfRenamedInDerivedClasses(); @@ -72,6 +75,35 @@ public ModelBuilder(GeneratorConfiguration configuration, XmlSchemaSet set) AddXmlRootAttributeToAmbiguousTypes(); } + private void CreateSubstitutes() + { + var properties = Types.Values.OfType().SelectMany(c => c.Properties).Where(p => p.XmlSchemaName != null).ToList(); + + foreach (var prop in properties) + { + var substitutes = GetSubstitutedElements(prop.XmlSchemaName).ToList(); + + if (_configuration.SeparateSubstitutes) + { + var elems = GetElements(prop.XmlParticle, prop.XmlParent); + + foreach (var substitute in substitutes) + { + var cls = (ClassModel)prop.OwningType; + var schema = substitute.Element.GetSchema(); + var source = CodeUtilities.CreateUri(schema.SourceUri); + var props = CreatePropertiesForElements(source, cls, prop.XmlParticle, elems, substitute); + + cls.Properties.AddRange(props); + } + } + else + { + prop.Substitutes = substitutes; + } + } + } + private void AddXmlRootAttributeToAmbiguousTypes() { var ambiguousTypes = Types.Values.Where(t=>t.RootElementName == null && !(t is InterfaceModel)).GroupBy(t => t.Name); @@ -186,6 +218,7 @@ private void CreateElements(IEnumerable elements) var qualifiedName = rootElement.ElementSchemaType.QualifiedName; if (qualifiedName.IsEmpty) { qualifiedName = rootElement.QualifiedName; } var type = CreateTypeModel(source, rootElement.ElementSchemaType, qualifiedName); + ClassModel derivedClassModel = null; if (type.RootElementName != null) { @@ -194,7 +227,7 @@ private void CreateElements(IEnumerable elements) // There is already another global element with this type. // Need to create an empty derived class. - var derivedClassModel = new ClassModel(_configuration) + derivedClassModel = new ClassModel(_configuration) { Name = _configuration.NamingProvider.RootClassNameFromQualifiedName(rootElement.QualifiedName), Namespace = CreateNamespaceModel(source, rootElement.QualifiedName) @@ -227,15 +260,34 @@ private void CreateElements(IEnumerable elements) if (type is ClassModel classModel) { classModel.Documentation.AddRange(GetDocumentation(rootElement)); - if (!rootElement.SubstitutionGroup.IsEmpty) - { - classModel.IsSubstitution = true; - classModel.SubstitutionName = rootElement.QualifiedName; - } } type.RootElementName = rootElement.QualifiedName; } + + if (!rootElement.SubstitutionGroup.IsEmpty) + { + if (!SubstitutionGroups.TryGetValue(rootElement.SubstitutionGroup, out var substitutes)) + { + substitutes = new HashSet(); + SubstitutionGroups.Add(rootElement.SubstitutionGroup, substitutes); + } + + substitutes.Add(new Substitute { Element = rootElement, Type = derivedClassModel ?? type }); + } + } + } + + private IEnumerable GetSubstitutedElements(XmlQualifiedName name) + { + if (SubstitutionGroups.TryGetValue(name, out var substitutes)) + { + foreach (var substitute in substitutes) + { + yield return substitute; + foreach (var recursiveSubstitute in GetSubstitutedElements(substitute.Element.QualifiedName)) + yield return recursiveSubstitute; + } } } @@ -286,7 +338,7 @@ private TypeModel CreateTypeModel(Uri source, XmlSchemaGroup group, NamespaceMod if (namespaceModel != null) { namespaceModel.Types[name] = interfaceModel; } - if (!qualifiedName.IsEmpty) + if (!qualifiedName.IsEmpty) { var key = BuildKey(group, qualifiedName); Types[key] = interfaceModel; @@ -416,8 +468,8 @@ private TypeModel CreateTypeModel(Uri source, XmlSchemaComplexType complexType, // If it's a restriction, do not duplicate attributes on the derived class, they're already in the base class. // See https://msdn.microsoft.com/en-us/library/f3z3wh0y.aspx } - else - { + else + { attributes = complexType.Attributes; if (attributes.Count == 0 && complexType.ContentModel != null) @@ -567,7 +619,7 @@ private static List EnsureEnumValuesUnique(List { var enumValueGroups = from enumValue in enumModelValues group enumValue by enumValue.Name; - + foreach (var g in enumValueGroups) { var i = 1; @@ -593,9 +645,9 @@ private IEnumerable CreatePropertiesForAttributes(Uri source, Typ var attributeQualifiedName = attribute.AttributeSchemaType.QualifiedName; var attributeName = _configuration.NamingProvider.AttributeNameFromQualifiedName(attribute.QualifiedName); - if (attribute.Parent is XmlSchemaAttributeGroup attributeGroup - && attributeGroup.QualifiedName != typeModel.XmlSchemaName - && Types.TryGetValue(BuildKey(attributeGroup, attributeGroup.QualifiedName), out var typeModelValue) + if (attribute.Parent is XmlSchemaAttributeGroup attributeGroup + && attributeGroup.QualifiedName != typeModel.XmlSchemaName + && Types.TryGetValue(BuildKey(attributeGroup, attributeGroup.QualifiedName), out var typeModelValue) && typeModelValue is InterfaceModel interfaceTypeModel) { var interfaceProperty = interfaceTypeModel.Properties.Single(p => p.XmlSchemaName == attribute.QualifiedName); @@ -629,6 +681,8 @@ private IEnumerable CreatePropertiesForAttributes(Uri source, Typ } } + attributeName = typeModel.GetUniquePropertyName(attributeName); + var property = new PropertyModel(_configuration) { OwningType = typeModel, @@ -639,10 +693,19 @@ private IEnumerable CreatePropertiesForAttributes(Uri source, Typ IsNullable = attribute.Use != XmlSchemaUse.Required, DefaultValue = attribute.DefaultValue ?? (attribute.Use != XmlSchemaUse.Optional ? attribute.FixedValue : null), FixedValue = attribute.FixedValue, - Form = attribute.Form == XmlSchemaForm.None ? attribute.GetSchema().AttributeFormDefault : attribute.Form, XmlNamespace = !string.IsNullOrEmpty(attribute.QualifiedName.Namespace) && attribute.QualifiedName.Namespace != typeModel.XmlSchemaName.Namespace ? attribute.QualifiedName.Namespace : null, }; + if (attribute.Form == XmlSchemaForm.None) + { + if (attribute.RefName != null && !attribute.RefName.IsEmpty) + property.Form = XmlSchemaForm.Qualified; + else + property.Form = attribute.GetSchema().AttributeFormDefault; + } + else + property.Form = attribute.Form; + var attributeDocs = GetDocumentation(attribute); property.Documentation.AddRange(attributeDocs); @@ -665,7 +728,8 @@ private IEnumerable CreatePropertiesForAttributes(Uri source, Typ return properties; } - private IEnumerable CreatePropertiesForElements(Uri source, TypeModel typeModel, XmlSchemaParticle particle, IEnumerable items, int order = 0) + private IEnumerable CreatePropertiesForElements(Uri source, TypeModel typeModel, XmlSchemaParticle particle, IEnumerable items, + Substitute substitute = null, int order = 0) { var properties = new List(); @@ -698,27 +762,31 @@ private IEnumerable CreatePropertiesForElements(Uri source, TypeM } } - var propertyName = _configuration.NamingProvider.ElementNameFromQualifiedName(element.QualifiedName); + var effectiveElement = substitute?.Element ?? element; + var propertyName = _configuration.NamingProvider.ElementNameFromQualifiedName(effectiveElement.QualifiedName); var originalPropertyName = propertyName; if (propertyName == typeModel.Name) { propertyName += "Property"; // member names cannot be the same as their enclosing type } + propertyName = typeModel.GetUniquePropertyName(propertyName); + property = new PropertyModel(_configuration) { OwningType = typeModel, - XmlSchemaName = element.QualifiedName, + XmlSchemaName = effectiveElement.QualifiedName, Name = propertyName, OriginalPropertyName = originalPropertyName, - Type = CreateTypeModel(source, element.ElementSchemaType, elementQualifiedName), + Type = substitute?.Type ?? CreateTypeModel(source, element.ElementSchemaType, elementQualifiedName), IsNillable = element.IsNillable, IsNullable = item.MinOccurs < 1.0m || (item.XmlParent is XmlSchemaChoice), IsCollection = item.MaxOccurs > 1.0m || particle.MaxOccurs > 1.0m, // http://msdn.microsoft.com/en-us/library/vstudio/d3hx2s7e(v=vs.100).aspx DefaultValue = element.DefaultValue ?? ((item.MinOccurs >= 1.0m && !(item.XmlParent is XmlSchemaChoice)) ? element.FixedValue : null), FixedValue = element.FixedValue, Form = element.Form == XmlSchemaForm.None ? element.GetSchema().ElementFormDefault : element.Form, - XmlNamespace = !string.IsNullOrEmpty(element.QualifiedName.Namespace) && element.QualifiedName.Namespace != typeModel.XmlSchemaName.Namespace ? element.QualifiedName.Namespace : null, + XmlNamespace = !string.IsNullOrEmpty(effectiveElement.QualifiedName.Namespace) && effectiveElement.QualifiedName.Namespace != typeModel.XmlSchemaName.Namespace + ? effectiveElement.QualifiedName.Namespace : null, XmlParticle = item.XmlParticle, XmlParent = item.XmlParent, }; @@ -754,7 +822,7 @@ private IEnumerable CreatePropertiesForElements(Uri source, TypeM } var groupItems = GetElements(groupRef.Particle); - var groupProperties = CreatePropertiesForElements(source, typeModel, item.XmlParticle, groupItems, order).ToList(); + var groupProperties = CreatePropertiesForElements(source, typeModel, item.XmlParticle, groupItems, order: order).ToList(); if (_configuration.EmitOrder) { order += groupProperties.Count; @@ -835,7 +903,7 @@ private IEnumerable GetRestrictions(IEnumerable + { + public XmlSchemaElement Element { get; set; } + public TypeModel Type { get; set; } + + public bool Equals(Substitute other) + { + return Element.QualifiedName.Equals(other.Element.QualifiedName) + && ($"{Type.Namespace}.{Type.Name}").Equals($"{other.Type.Namespace}.{other.Type.Name}"); + } + } +} diff --git a/XmlSchemaClassGenerator/TypeModel.cs b/XmlSchemaClassGenerator/TypeModel.cs index 2a7fdc56..f44431db 100644 --- a/XmlSchemaClassGenerator/TypeModel.cs +++ b/XmlSchemaClassGenerator/TypeModel.cs @@ -261,7 +261,6 @@ public class ClassModel : ReferenceTypeModel public bool IsAbstract { get; set; } public bool IsMixed { get; set; } public bool IsSubstitution { get; set; } - public XmlQualifiedName SubstitutionName { get; set; } public TypeModel BaseClass { get; set; } public List DerivedTypes { get; set; } public ClassModel(GeneratorConfiguration configuration) @@ -588,11 +587,13 @@ public class PropertyModel public XmlSchemaParticle XmlParticle { get; set; } public XmlSchemaObject XmlParent { get; set; } public GeneratorConfiguration Configuration { get; private set; } + public List Substitutes { get; set; } public PropertyModel(GeneratorConfiguration configuration) { Configuration = configuration; Documentation = new List(); + Substitutes = new List(); } internal static string GetAccessors(string memberName, string backingFieldName, PropertyValueTypeCode typeCode, bool privateSetter, bool withDataBinding = true) @@ -1186,21 +1187,22 @@ private IEnumerable GetAttributes(bool isArray) } else { - if (PropertyType is ClassModel classType && classType.IsAbstract && classType.DerivedTypes.Any()) + if (!Configuration.SeparateSubstitutes && Substitutes.Any()) { - var derivedTypes = classType.GetAllDerivedTypes().Where(t => t.IsSubstitution); - foreach (var derivedType in derivedTypes) + foreach (var substitute in Substitutes) { - var derivedAttribute = new CodeAttributeDeclaration(new CodeTypeReference(typeof(XmlElementAttribute), Configuration.CodeTypeReferenceOptions), - new CodeAttributeArgument(new CodePrimitiveExpression((derivedType.SubstitutionName ?? derivedType.XmlSchemaName).Name)), - new CodeAttributeArgument("Type", new CodeTypeOfExpression(derivedType.GetReferenceFor(OwningType.Namespace))), - new CodeAttributeArgument("Namespace", new CodePrimitiveExpression(derivedType.XmlSchemaName.Namespace))); + var substitutedAttribute = new CodeAttributeDeclaration(new CodeTypeReference(typeof(XmlElementAttribute), Configuration.CodeTypeReferenceOptions), + new CodeAttributeArgument(new CodePrimitiveExpression(substitute.Element.QualifiedName.Name)), + new CodeAttributeArgument("Type", new CodeTypeOfExpression(substitute.Type.GetReferenceFor(OwningType.Namespace))), + new CodeAttributeArgument("Namespace", new CodePrimitiveExpression(substitute.Element.QualifiedName.Namespace))); + if (Order != null) { - derivedAttribute.Arguments.Add(new CodeAttributeArgument("Order", + substitutedAttribute.Arguments.Add(new CodeAttributeArgument("Order", new CodePrimitiveExpression(Order.Value))); } - attributes.Add(derivedAttribute); + + attributes.Add(substitutedAttribute); } } diff --git a/XmlSchemaClassGenerator/XmlSchemaClassGenerator.csproj b/XmlSchemaClassGenerator/XmlSchemaClassGenerator.csproj index bf10593d..108de0c8 100644 --- a/XmlSchemaClassGenerator/XmlSchemaClassGenerator.csproj +++ b/XmlSchemaClassGenerator/XmlSchemaClassGenerator.csproj @@ -28,6 +28,10 @@ snupkg + + $(DefineConstants);NETSTANDARD + + @@ -37,19 +41,16 @@ - - - $(DefineConstants);NETSTANDARD - - + +