From f0510d2f90467de8e8f260b47d79a9baaf9bef17 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 17 Sep 2009 07:15:29 +0200 Subject: Start tracking XSD with git --- tests/schema/anonymous/test.xsd | 143 ++++++++++++++++++++ tests/schema/any-attribute/test.xsd | 22 +++ tests/schema/any-type/test.xsd | 22 +++ tests/schema/any/fail.xsd | 19 +++ tests/schema/any/test.xsd | 19 +++ tests/schema/attribute-group/global.xsd | 50 +++++++ tests/schema/attribute/global.xsd | 21 +++ tests/schema/attribute/local.xsd | 37 ++++++ tests/schema/attribute/ref.xsd | 42 ++++++ tests/schema/cardinality/test.xsd | 46 +++++++ tests/schema/chameleon/includer.xsd | 17 +++ tests/schema/chameleon/schemas/includee.xsd | 12 ++ tests/schema/enumeration/test.xsd | 89 +++++++++++++ tests/schema/forward/test.xsd | 32 +++++ tests/schema/group/global.xsd | 39 ++++++ tests/schema/group/test.xsd | 148 +++++++++++++++++++++ tests/schema/import/importer.xsd | 20 +++ tests/schema/import/schemas/importee.xsd | 15 +++ tests/schema/include/includer.xsd | 17 +++ tests/schema/include/schemas/includee.xsd | 14 ++ tests/schema/inheritance/cycle.xsd | 34 +++++ .../inheritance/sourced-forward/includee.xsd | 10 ++ .../inheritance/sourced-forward/includer.xsd | 14 ++ tests/schema/list/anonymous/test.xsd | 16 +++ tests/schema/list/any-simple-type/test.xsd | 12 ++ tests/schema/list/driver.cxx | 13 ++ tests/schema/list/test.xsd | 72 ++++++++++ tests/schema/no-namespace/test.xsd | 15 +++ tests/schema/recursive/test.xsd | 43 ++++++ tests/schema/ref-type/idref.xsd | 42 ++++++ tests/schema/ref-type/idrefs.xsd | 43 ++++++ tests/schema/ref-type/invalid-0.xsd | 17 +++ tests/schema/ref-type/invalid-1.xsd | 11 ++ tests/schema/restriction/test.xsd | 67 ++++++++++ tests/schema/union/test.xsd | 65 +++++++++ 35 files changed, 1298 insertions(+) create mode 100644 tests/schema/anonymous/test.xsd create mode 100644 tests/schema/any-attribute/test.xsd create mode 100644 tests/schema/any-type/test.xsd create mode 100644 tests/schema/any/fail.xsd create mode 100644 tests/schema/any/test.xsd create mode 100644 tests/schema/attribute-group/global.xsd create mode 100644 tests/schema/attribute/global.xsd create mode 100644 tests/schema/attribute/local.xsd create mode 100644 tests/schema/attribute/ref.xsd create mode 100644 tests/schema/cardinality/test.xsd create mode 100644 tests/schema/chameleon/includer.xsd create mode 100644 tests/schema/chameleon/schemas/includee.xsd create mode 100644 tests/schema/enumeration/test.xsd create mode 100644 tests/schema/forward/test.xsd create mode 100644 tests/schema/group/global.xsd create mode 100644 tests/schema/group/test.xsd create mode 100644 tests/schema/import/importer.xsd create mode 100644 tests/schema/import/schemas/importee.xsd create mode 100644 tests/schema/include/includer.xsd create mode 100644 tests/schema/include/schemas/includee.xsd create mode 100644 tests/schema/inheritance/cycle.xsd create mode 100644 tests/schema/inheritance/sourced-forward/includee.xsd create mode 100644 tests/schema/inheritance/sourced-forward/includer.xsd create mode 100644 tests/schema/list/anonymous/test.xsd create mode 100644 tests/schema/list/any-simple-type/test.xsd create mode 100644 tests/schema/list/driver.cxx create mode 100644 tests/schema/list/test.xsd create mode 100644 tests/schema/no-namespace/test.xsd create mode 100644 tests/schema/recursive/test.xsd create mode 100644 tests/schema/ref-type/idref.xsd create mode 100644 tests/schema/ref-type/idrefs.xsd create mode 100644 tests/schema/ref-type/invalid-0.xsd create mode 100644 tests/schema/ref-type/invalid-1.xsd create mode 100644 tests/schema/restriction/test.xsd create mode 100644 tests/schema/union/test.xsd (limited to 'tests/schema') diff --git a/tests/schema/anonymous/test.xsd b/tests/schema/anonymous/test.xsd new file mode 100644 index 0000000..cba3300 --- /dev/null +++ b/tests/schema/anonymous/test.xsd @@ -0,0 +1,143 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/tests/schema/any-attribute/test.xsd b/tests/schema/any-attribute/test.xsd new file mode 100644 index 0000000..55419c4 --- /dev/null +++ b/tests/schema/any-attribute/test.xsd @@ -0,0 +1,22 @@ + + + + + + + + + + + + + + + + + + diff --git a/tests/schema/any-type/test.xsd b/tests/schema/any-type/test.xsd new file mode 100644 index 0000000..9e3ff79 --- /dev/null +++ b/tests/schema/any-type/test.xsd @@ -0,0 +1,22 @@ + + + + + + + + + + + + + + + + + + diff --git a/tests/schema/any/fail.xsd b/tests/schema/any/fail.xsd new file mode 100644 index 0000000..2eb9513 --- /dev/null +++ b/tests/schema/any/fail.xsd @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + diff --git a/tests/schema/any/test.xsd b/tests/schema/any/test.xsd new file mode 100644 index 0000000..ff896fd --- /dev/null +++ b/tests/schema/any/test.xsd @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + diff --git a/tests/schema/attribute-group/global.xsd b/tests/schema/attribute-group/global.xsd new file mode 100644 index 0000000..6ee0539 --- /dev/null +++ b/tests/schema/attribute-group/global.xsd @@ -0,0 +1,50 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/tests/schema/attribute/global.xsd b/tests/schema/attribute/global.xsd new file mode 100644 index 0000000..e2dcc93 --- /dev/null +++ b/tests/schema/attribute/global.xsd @@ -0,0 +1,21 @@ + + + + + + + + + + + + + + + + + diff --git a/tests/schema/attribute/local.xsd b/tests/schema/attribute/local.xsd new file mode 100644 index 0000000..7a7a480 --- /dev/null +++ b/tests/schema/attribute/local.xsd @@ -0,0 +1,37 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/tests/schema/attribute/ref.xsd b/tests/schema/attribute/ref.xsd new file mode 100644 index 0000000..f6c3c10 --- /dev/null +++ b/tests/schema/attribute/ref.xsd @@ -0,0 +1,42 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/tests/schema/cardinality/test.xsd b/tests/schema/cardinality/test.xsd new file mode 100644 index 0000000..b27f923 --- /dev/null +++ b/tests/schema/cardinality/test.xsd @@ -0,0 +1,46 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/tests/schema/chameleon/includer.xsd b/tests/schema/chameleon/includer.xsd new file mode 100644 index 0000000..c93ea18 --- /dev/null +++ b/tests/schema/chameleon/includer.xsd @@ -0,0 +1,17 @@ + + + + + + + + + + + + + diff --git a/tests/schema/chameleon/schemas/includee.xsd b/tests/schema/chameleon/schemas/includee.xsd new file mode 100644 index 0000000..d89b9c4 --- /dev/null +++ b/tests/schema/chameleon/schemas/includee.xsd @@ -0,0 +1,12 @@ + + + + + + + + + + diff --git a/tests/schema/enumeration/test.xsd b/tests/schema/enumeration/test.xsd new file mode 100644 index 0000000..b8253d9 --- /dev/null +++ b/tests/schema/enumeration/test.xsd @@ -0,0 +1,89 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/tests/schema/forward/test.xsd b/tests/schema/forward/test.xsd new file mode 100644 index 0000000..c7cc24e --- /dev/null +++ b/tests/schema/forward/test.xsd @@ -0,0 +1,32 @@ + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/tests/schema/group/global.xsd b/tests/schema/group/global.xsd new file mode 100644 index 0000000..27ccadf --- /dev/null +++ b/tests/schema/group/global.xsd @@ -0,0 +1,39 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/tests/schema/group/test.xsd b/tests/schema/group/test.xsd new file mode 100644 index 0000000..7527cbb --- /dev/null +++ b/tests/schema/group/test.xsd @@ -0,0 +1,148 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/tests/schema/import/importer.xsd b/tests/schema/import/importer.xsd new file mode 100644 index 0000000..82fc33c --- /dev/null +++ b/tests/schema/import/importer.xsd @@ -0,0 +1,20 @@ + + + + + + + + + + + + + + + diff --git a/tests/schema/import/schemas/importee.xsd b/tests/schema/import/schemas/importee.xsd new file mode 100644 index 0000000..9b03315 --- /dev/null +++ b/tests/schema/import/schemas/importee.xsd @@ -0,0 +1,15 @@ + + + + + + + + + + + diff --git a/tests/schema/include/includer.xsd b/tests/schema/include/includer.xsd new file mode 100644 index 0000000..c93ea18 --- /dev/null +++ b/tests/schema/include/includer.xsd @@ -0,0 +1,17 @@ + + + + + + + + + + + + + diff --git a/tests/schema/include/schemas/includee.xsd b/tests/schema/include/schemas/includee.xsd new file mode 100644 index 0000000..0a928f5 --- /dev/null +++ b/tests/schema/include/schemas/includee.xsd @@ -0,0 +1,14 @@ + + + + + + + + + + diff --git a/tests/schema/inheritance/cycle.xsd b/tests/schema/inheritance/cycle.xsd new file mode 100644 index 0000000..c705311 --- /dev/null +++ b/tests/schema/inheritance/cycle.xsd @@ -0,0 +1,34 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/tests/schema/inheritance/sourced-forward/includee.xsd b/tests/schema/inheritance/sourced-forward/includee.xsd new file mode 100644 index 0000000..531027d --- /dev/null +++ b/tests/schema/inheritance/sourced-forward/includee.xsd @@ -0,0 +1,10 @@ + + + + + + + + diff --git a/tests/schema/inheritance/sourced-forward/includer.xsd b/tests/schema/inheritance/sourced-forward/includer.xsd new file mode 100644 index 0000000..7d18efc --- /dev/null +++ b/tests/schema/inheritance/sourced-forward/includer.xsd @@ -0,0 +1,14 @@ + + + + + + + + + + diff --git a/tests/schema/list/anonymous/test.xsd b/tests/schema/list/anonymous/test.xsd new file mode 100644 index 0000000..7db39ba --- /dev/null +++ b/tests/schema/list/anonymous/test.xsd @@ -0,0 +1,16 @@ + + + + + + + + + + + + diff --git a/tests/schema/list/any-simple-type/test.xsd b/tests/schema/list/any-simple-type/test.xsd new file mode 100644 index 0000000..29fe95c --- /dev/null +++ b/tests/schema/list/any-simple-type/test.xsd @@ -0,0 +1,12 @@ + + + + + + + + diff --git a/tests/schema/list/driver.cxx b/tests/schema/list/driver.cxx new file mode 100644 index 0000000..7bd46e9 --- /dev/null +++ b/tests/schema/list/driver.cxx @@ -0,0 +1,13 @@ +#include "test.hxx" + +typedef xmlns::test::IntList IntListImpl; +typedef xmlns::test::IntList IntListVoidImpl; +typedef xmlns::test::IntComplex IntComplexImpl; + +int +main () +{ + IntListImpl int_list_impl; + IntListVoidImpl int_list_void_impl; + IntComplexImpl int_complex_impl; +} diff --git a/tests/schema/list/test.xsd b/tests/schema/list/test.xsd new file mode 100644 index 0000000..e16a58d --- /dev/null +++ b/tests/schema/list/test.xsd @@ -0,0 +1,72 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/tests/schema/no-namespace/test.xsd b/tests/schema/no-namespace/test.xsd new file mode 100644 index 0000000..b426e8a --- /dev/null +++ b/tests/schema/no-namespace/test.xsd @@ -0,0 +1,15 @@ + + + + + + + + + + + + + diff --git a/tests/schema/recursive/test.xsd b/tests/schema/recursive/test.xsd new file mode 100644 index 0000000..6efc7d2 --- /dev/null +++ b/tests/schema/recursive/test.xsd @@ -0,0 +1,43 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/tests/schema/ref-type/idref.xsd b/tests/schema/ref-type/idref.xsd new file mode 100644 index 0000000..49ebe40 --- /dev/null +++ b/tests/schema/ref-type/idref.xsd @@ -0,0 +1,42 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/tests/schema/ref-type/idrefs.xsd b/tests/schema/ref-type/idrefs.xsd new file mode 100644 index 0000000..b68ed03 --- /dev/null +++ b/tests/schema/ref-type/idrefs.xsd @@ -0,0 +1,43 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/tests/schema/ref-type/invalid-0.xsd b/tests/schema/ref-type/invalid-0.xsd new file mode 100644 index 0000000..7ce82ed --- /dev/null +++ b/tests/schema/ref-type/invalid-0.xsd @@ -0,0 +1,17 @@ + + + + + + + + + + + + + diff --git a/tests/schema/ref-type/invalid-1.xsd b/tests/schema/ref-type/invalid-1.xsd new file mode 100644 index 0000000..d989065 --- /dev/null +++ b/tests/schema/ref-type/invalid-1.xsd @@ -0,0 +1,11 @@ + + + + + + + + diff --git a/tests/schema/restriction/test.xsd b/tests/schema/restriction/test.xsd new file mode 100644 index 0000000..331ba78 --- /dev/null +++ b/tests/schema/restriction/test.xsd @@ -0,0 +1,67 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/tests/schema/union/test.xsd b/tests/schema/union/test.xsd new file mode 100644 index 0000000..706f6f2 --- /dev/null +++ b/tests/schema/union/test.xsd @@ -0,0 +1,65 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -- cgit v1.1