<?xml version="1.0" encoding="UTF-8"?>
<!-- edited with XMLSPY v2004 rel. 4 U (http://www.xmlspy.com) by Tyler Bell (n/a) -->
<xs:schema targetNamespace="http://www.heritage-standards.org.uk/midas/schema/1.1" elementFormDefault="qualified" attributeFormDefault="unqualified" version="1.1" id="heep_exception" xmlns:midas="http://www.heritage-standards.org.uk/midas/schema/1.1" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<!--Version 1.1 with corrected web address for schema -->
	<xs:annotation>
		<xs:documentation>This is the HEEP exception schema, used to structure human and machine readable excpetions and errors.</xs:documentation>
	</xs:annotation>
	<!-- Begin /HEEP_exception -->
	<xs:element name="HEEP_exception">
		<xs:annotation>
			<xs:documentation>Root node for the HEEP request.</xs:documentation>
		</xs:annotation>
		<xs:complexType>
			<xs:sequence>
				<xs:element name="serviceException" maxOccurs="unbounded">
					<xs:annotation>
						<xs:documentation>Primary exception element; repeat for each exception</xs:documentation>
					</xs:annotation>
					<xs:complexType>
						<xs:sequence>
							<xs:element name="user" minOccurs="0">
								<xs:annotation>
									<xs:documentation>Exception information intened for the user</xs:documentation>
								</xs:annotation>
								<xs:complexType/>
							</xs:element>
							<xs:element name="admin" minOccurs="0">
								<xs:annotation>
									<xs:documentation>Exception information intened for the system administrator</xs:documentation>
								</xs:annotation>
								<xs:complexType/>
							</xs:element>
							<xs:element name="client" minOccurs="0">
								<xs:annotation>
									<xs:documentation>Exception information intened for the client (machine readable)</xs:documentation>
								</xs:annotation>
								<xs:complexType/>
							</xs:element>
						</xs:sequence>
						<xs:attribute name="code" type="xs:string" use="optional">
							<xs:annotation>
								<xs:documentation>Optional error code.</xs:documentation>
							</xs:annotation>
						</xs:attribute>
					</xs:complexType>
				</xs:element>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
</xs:schema>
