From d03a0dfde8da13d28a815106227c8694bee5c2ee Mon Sep 17 00:00:00 2001 From: Stuart Campbell <campbellsi@ornl.gov> Date: Mon, 28 Oct 2013 14:11:46 -0400 Subject: [PATCH] Added version attribute to schemas. refs #8221 --- Code/Mantid/instrument/Schema/FacilitiesSchema.xsd | 5 +++-- Code/Mantid/instrument/Schema/GroupingSchema.xsd | 2 +- Code/Mantid/instrument/Schema/IDFSchema.xsd | 1 + Code/Mantid/instrument/Schema/ParameterFileSchema.xsd | 2 +- 4 files changed, 6 insertions(+), 4 deletions(-) diff --git a/Code/Mantid/instrument/Schema/FacilitiesSchema.xsd b/Code/Mantid/instrument/Schema/FacilitiesSchema.xsd index e9e7f75d744..5c1ee47e2ad 100644 --- a/Code/Mantid/instrument/Schema/FacilitiesSchema.xsd +++ b/Code/Mantid/instrument/Schema/FacilitiesSchema.xsd @@ -1,5 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> -<xs:schema xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" attributeFormDefault="unqualified" elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema"> +<xs:schema xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" attributeFormDefault="unqualified" elementFormDefault="qualified" + xmlns:xs="http://www.w3.org/2001/XMLSchema" version="1.0"> <xs:element name="facilities"> <xs:complexType> <xs:choice maxOccurs="unbounded"> @@ -100,4 +101,4 @@ </xs:choice> </xs:complexType> </xs:element> -</xs:schema> \ No newline at end of file +</xs:schema> diff --git a/Code/Mantid/instrument/Schema/GroupingSchema.xsd b/Code/Mantid/instrument/Schema/GroupingSchema.xsd index 37841645c6d..d8fce3133c9 100644 --- a/Code/Mantid/instrument/Schema/GroupingSchema.xsd +++ b/Code/Mantid/instrument/Schema/GroupingSchema.xsd @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema"> +<xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema" version="1.0"> <xs:element name ="detector-grouping"> <xs:complexType> <xs:choice maxOccurs="unbounded"> diff --git a/Code/Mantid/instrument/Schema/IDFSchema.xsd b/Code/Mantid/instrument/Schema/IDFSchema.xsd index 3b995bd9e89..9b0a179944e 100644 --- a/Code/Mantid/instrument/Schema/IDFSchema.xsd +++ b/Code/Mantid/instrument/Schema/IDFSchema.xsd @@ -3,6 +3,7 @@ <xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema" + version="1.0" > <!--Define customDate Type--> <xs:simpleType name="customDate"> diff --git a/Code/Mantid/instrument/Schema/ParameterFileSchema.xsd b/Code/Mantid/instrument/Schema/ParameterFileSchema.xsd index 33883186107..c898905e605 100644 --- a/Code/Mantid/instrument/Schema/ParameterFileSchema.xsd +++ b/Code/Mantid/instrument/Schema/ParameterFileSchema.xsd @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema"> +<xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema" version="1.0"> <!-- Define Cartesian Coordinates Attribute Group--> -- GitLab