diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2009-09-17 07:15:29 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2009-09-17 07:15:29 +0200 |
commit | f0510d2f90467de8e8f260b47d79a9baaf9bef17 (patch) | |
tree | 0b9929946f06a9cbe9b9e8f2a7600dae4e048f79 /tests/cxx/tree/prefix/bar.xsd |
Start tracking XSD with git
Diffstat (limited to 'tests/cxx/tree/prefix/bar.xsd')
-rw-r--r-- | tests/cxx/tree/prefix/bar.xsd | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/tests/cxx/tree/prefix/bar.xsd b/tests/cxx/tree/prefix/bar.xsd new file mode 100644 index 0000000..4e20902 --- /dev/null +++ b/tests/cxx/tree/prefix/bar.xsd @@ -0,0 +1,34 @@ +<?xml version="1.0"?> +<schema xmlns="http://www.w3.org/2001/XMLSchema" + xmlns:f="foo" + xmlns:b="bar" + targetNamespace="bar" + attributeFormDefault="qualified"> + + <import namespace="foo" schemaLocation="foo.xsd"/> + + <attribute name="abar" type="int"/> + + <complexType name="derived1"> + <complexContent> + <extension base="f:base"> + <sequence> + <element name="y" type="int"/> + </sequence> + </extension> + </complexContent> + </complexType> + + <complexType name="derived2"> + <complexContent> + <extension base="f:base"> + <sequence> + <element name="z" type="int"/> + </sequence> + </extension> + </complexContent> + </complexType> + + <element name="derived" type="b:derived1" substitutionGroup="f:base"/> + +</schema> |