Index: Ringtoets/Piping/src/Ringtoets.Piping.IO/Readers/PipingConfigurationReader.cs =================================================================== diff -u -r6ed40142f26dda106581e03da03fcf411fc0514d -r023af77f9d53df64531a85b1f07b4b0948909401 --- Ringtoets/Piping/src/Ringtoets.Piping.IO/Readers/PipingConfigurationReader.cs (.../PipingConfigurationReader.cs) (revision 6ed40142f26dda106581e03da03fcf411fc0514d) +++ Ringtoets/Piping/src/Ringtoets.Piping.IO/Readers/PipingConfigurationReader.cs (.../PipingConfigurationReader.cs) (revision 023af77f9d53df64531a85b1f07b4b0948909401) @@ -131,6 +131,17 @@ } } + private static XmlSchemaSet LoadXmlSchema() + { + Stream schemaFile = AssemblyUtils.GetAssemblyResourceStream(typeof(PipingConfigurationReader).Assembly, + "Ringtoets.Piping.IO.Readers.XMLPipingConfigurationSchema.xsd"); + + var xmlSchema = new XmlSchemaSet(); + xmlSchema.Add(XmlSchema.Read(schemaFile, null)); + + return xmlSchema; + } + private static IEnumerable ParseReadPipingCalculationItems(IEnumerable elements) { foreach (XElement element in elements) @@ -204,16 +215,5 @@ { return parentElement.Elements("stochast").FirstOrDefault(e => e.Attribute("naam")?.Value == stochastName); } - - private static XmlSchemaSet LoadXmlSchema() - { - Stream schemaFile = AssemblyUtils.GetAssemblyResourceStream(typeof(PipingConfigurationReader).Assembly, - "Ringtoets.Piping.IO.Readers.XMLPipingConfigurationSchema.xsd"); - - var xmlSchema = new XmlSchemaSet(); - xmlSchema.Add(XmlSchema.Read(schemaFile, null)); - - return xmlSchema; - } } } \ No newline at end of file