diff options
Diffstat (limited to 'libxsd-frontend/tests/schema/attribute-group')
5 files changed, 0 insertions, 114 deletions
diff --git a/libxsd-frontend/tests/schema/attribute-group/makefile b/libxsd-frontend/tests/schema/attribute-group/makefile deleted file mode 100644 index 00746a3..0000000 --- a/libxsd-frontend/tests/schema/attribute-group/makefile +++ /dev/null @@ -1,34 +0,0 @@ -# file      : tests/schema/attribute-group/makefile -# copyright : Copyright (c) 2006-2014 Code Synthesis Tools CC -# license   : GNU GPL v2 + exceptions; see accompanying LICENSE file - -include $(dir $(lastword $(MAKEFILE_LIST)))../../../build/bootstrap.make - -tests := 000 001 - -driver := $(out_root)/tests/dump/driver -test   := $(out_base)/.test -clean  := $(out_base)/.clean - -# Convenience alias for default target. -# -$(out_base)/: $(driver) - -# Test. -# -test_targets := $(addprefix $(out_base)/.test-,$(tests)) - -$(test): $(test_targets) -$(test_targets): driver := $(driver) - -.PHONY: $(out_base)/.test-% -$(out_base)/.test-%: $(driver) $(src_base)/test-%.xsd $(src_base)/test-%.std -	$(call message,test $(out_base)/$*,$(driver) $(src_base)/test-$*.xsd | diff -u $(src_base)/test-$*.std -) - -# Clean. -# -$(clean): - -# Dependencies. -# -$(call import,$(src_root)/tests/dump/makefile) diff --git a/libxsd-frontend/tests/schema/attribute-group/test-000.std b/libxsd-frontend/tests/schema/attribute-group/test-000.std deleted file mode 100644 index 61ad802..0000000 --- a/libxsd-frontend/tests/schema/attribute-group/test-000.std +++ /dev/null @@ -1,17 +0,0 @@ -primary -{ -  namespace test -  { -    complex type -    { -      optional attribute foo2 http://www.w3.org/2001/XMLSchema#string -      required attribute bar2 http://www.w3.org/2001/XMLSchema#string -      optional attribute foo3 http://www.w3.org/2001/XMLSchema#string -      required attribute bar3 http://www.w3.org/2001/XMLSchema#string -    } -    attribute foo2 http://www.w3.org/2001/XMLSchema#string -    attribute bar2 http://www.w3.org/2001/XMLSchema#string -    attribute foo3 http://www.w3.org/2001/XMLSchema#string -    attribute bar3 http://www.w3.org/2001/XMLSchema#string -  } -} diff --git a/libxsd-frontend/tests/schema/attribute-group/test-000.xsd b/libxsd-frontend/tests/schema/attribute-group/test-000.xsd deleted file mode 100644 index 9087a2b..0000000 --- a/libxsd-frontend/tests/schema/attribute-group/test-000.xsd +++ /dev/null @@ -1,31 +0,0 @@ -<?xml version="1.0"?> -<schema xmlns="http://www.w3.org/2001/XMLSchema" xmlns:t="test" targetNamespace="test"> - -  <!-- Multiple levels of forward reference. --> - -  <complexType name="type"> -    <attributeGroup ref="t:g1"/> -  </complexType> - -  <attributeGroup name="g1"> -    <attributeGroup ref="t:g2"/> -    <attributeGroup ref="t:g3"/> -  </attributeGroup> - -  <attributeGroup name="g2"> -    <attribute ref="t:foo2"/> -    <attribute ref="t:bar2" use="required"/> -  </attributeGroup> - -  <attributeGroup name="g3"> -    <attribute ref="t:foo3"/> -    <attribute ref="t:bar3" use="required"/> -  </attributeGroup> - -  <attribute name="foo2" type="string"/> -  <attribute name="bar2" type="string"/> - -  <attribute name="foo3" type="string"/> -  <attribute name="bar3" type="string"/> - -</schema> diff --git a/libxsd-frontend/tests/schema/attribute-group/test-001.std b/libxsd-frontend/tests/schema/attribute-group/test-001.std deleted file mode 100644 index 54a1e96..0000000 --- a/libxsd-frontend/tests/schema/attribute-group/test-001.std +++ /dev/null @@ -1,12 +0,0 @@ -primary -{ -  namespace test -  { -    complex type -    { -      any-attribute 'any-attribute #1' -      optional attribute foo http://www.w3.org/2001/XMLSchema#string -      any-attribute 'any-attribute #0' -    } -  } -} diff --git a/libxsd-frontend/tests/schema/attribute-group/test-001.xsd b/libxsd-frontend/tests/schema/attribute-group/test-001.xsd deleted file mode 100644 index dc44a70..0000000 --- a/libxsd-frontend/tests/schema/attribute-group/test-001.xsd +++ /dev/null @@ -1,20 +0,0 @@ -<?xml version="1.0"?> -<schema xmlns="http://www.w3.org/2001/XMLSchema" xmlns:t="test" targetNamespace="test"> - -  <!-- AnyAttribute in attribute groups. --> - -  <complexType name="type"> -    <attributeGroup ref="t:g1"/> -    <attributeGroup ref="t:g2"/> -  </complexType> - -  <attributeGroup name="g1"> -    <anyAttribute namespace="http://www.foo.com"/> -  </attributeGroup> - -  <attributeGroup name="g2"> -    <attribute name="foo" type="string"/> -    <anyAttribute namespace="http://www.bar.com"/> -  </attributeGroup> - -</schema>  | 
