summaryrefslogtreecommitdiff
path: root/test/schemas/src-attribute1_0.xsd
diff options
context:
space:
mode:
Diffstat (limited to 'test/schemas/src-attribute1_0.xsd')
-rw-r--r--test/schemas/src-attribute1_0.xsd13
1 files changed, 13 insertions, 0 deletions
diff --git a/test/schemas/src-attribute1_0.xsd b/test/schemas/src-attribute1_0.xsd
new file mode 100644
index 0000000..dba8b48
--- /dev/null
+++ b/test/schemas/src-attribute1_0.xsd
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="ISO-8859-1" ?>
+<!-- 3.2.3 : 1
+ default and fixed must not both be present
+-->
+<schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://foo" xmlns:foo="http://foo">
+
+ <element name="foo">
+ <complexType>
+ <attribute name="bar" type="string" default="moo" fixed="true"/>
+ </complexType>
+ </element>
+
+</schema>