Add parametrized messaging and serialization to exceptions.
[shibboleth/cpp-xmltooling.git] / schemas / xmltooling.xsd
diff --git a/schemas/xmltooling.xsd b/schemas/xmltooling.xsd
new file mode 100644 (file)
index 0000000..a532d4a
--- /dev/null
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<schema xmlns="http://www.w3.org/2001/XMLSchema" \r
+    xmlns:xt="http://www.opensaml.org/xmltooling"\r
+    targetNamespace="http://www.opensaml.org/xmltooling"
+    elementFormDefault="qualified">\r
+\r
+    <element name="exception" type="xt:XMLToolingExceptionType"/>\r
+    <complexType name="XMLToolingExceptionType">\r
+        <sequence>\r
+            <element name="message" type="string" minOccurs="0"/>
+            <element name="param" minOccurs="0" maxOccurs="unbounded">
+                <complexType>
+                    <simpleContent>
+                        <extension base="string">
+                            <attribute name="name" type="string" use="required"/>
+                        </extension>
+                    </simpleContent>
+                </complexType>
+            </element>\r
+        </sequence>\r
+        <attribute name="type" type="string" use="required"/>\r
+    </complexType>\r
+\r
+</schema>
\ No newline at end of file