summaryrefslogtreecommitdiff
path: root/xsd-tests/schema/any-attribute/testscript
diff options
context:
space:
mode:
Diffstat (limited to 'xsd-tests/schema/any-attribute/testscript')
-rw-r--r--xsd-tests/schema/any-attribute/testscript8
1 files changed, 8 insertions, 0 deletions
diff --git a/xsd-tests/schema/any-attribute/testscript b/xsd-tests/schema/any-attribute/testscript
new file mode 100644
index 0000000..d9da7c1
--- /dev/null
+++ b/xsd-tests/schema/any-attribute/testscript
@@ -0,0 +1,8 @@
+# file : schema/any-attribute/testscript
+# license : GNU GPL v2 + exceptions; see accompanying LICENSE file
+
+: decl-after-any-attribute
+:
+$* --output-dir $~ $src_base/test.xsd 2>>/"EOE" != 0
+ $src_base/test.xsd:12:44: error: anyAttribute must not be followed by other declarations
+ EOE