diff options
Diffstat (limited to 'tests/org.eclipse.wst.xsd.ui.tests/testresources/XSD/xmlnsCleanup')
10 files changed, 0 insertions, 855 deletions
diff --git a/tests/org.eclipse.wst.xsd.ui.tests/testresources/XSD/xmlnsCleanup/Import1.xsd b/tests/org.eclipse.wst.xsd.ui.tests/testresources/XSD/xmlnsCleanup/Import1.xsd deleted file mode 100644 index f69fcceeb..000000000 --- a/tests/org.eclipse.wst.xsd.ui.tests/testresources/XSD/xmlnsCleanup/Import1.xsd +++ /dev/null @@ -1,38 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<xsd:schema elementFormDefault="qualified" - targetNamespace="http://www.example.org/Import" - xmlns:xsd="http://www.w3.org/2001/XMLSchema" - xmlns:tns="http://www.example.org/Import"> - - <xsd:complexType name="ImpCT1"> - <xsd:sequence> - <xsd:element name="e1" type="xsd:string" maxOccurs="25"></xsd:element> - </xsd:sequence> - </xsd:complexType> - - <xsd:group name="ImpGr1"> - <xsd:sequence> - <xsd:element name="e1" type="xsd:string"></xsd:element> - </xsd:sequence> - </xsd:group> - - <xsd:attribute name="ImpAttr1" type="tns:ImpST1"></xsd:attribute> - - <xsd:attributeGroup name="ImpAttrGr1"> - <xsd:attribute name="at1" type="xsd:string"></xsd:attribute> - </xsd:attributeGroup> - - <xsd:element name="ImpElem1" type="xsd:string"></xsd:element> - - <xsd:simpleType name="ImpST1"> - <xsd:restriction base="xsd:string"></xsd:restriction> - </xsd:simpleType> - - <xsd:simpleType name="ImpST2"> - <xsd:restriction base="xsd:string"></xsd:restriction> - </xsd:simpleType> - - <xsd:complexType name="ImpCT2"> - <xsd:attribute name="attr1" type="xsd:string"></xsd:attribute> - </xsd:complexType> -</xsd:schema>
\ No newline at end of file diff --git a/tests/org.eclipse.wst.xsd.ui.tests/testresources/XSD/xmlnsCleanup/Include1.xsd b/tests/org.eclipse.wst.xsd.ui.tests/testresources/XSD/xmlnsCleanup/Include1.xsd deleted file mode 100644 index 14d96d783..000000000 --- a/tests/org.eclipse.wst.xsd.ui.tests/testresources/XSD/xmlnsCleanup/Include1.xsd +++ /dev/null @@ -1,38 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<xsd:schema elementFormDefault="qualified" - targetNamespace="http://www.example.org/Main" - xmlns:xsd="http://www.w3.org/2001/XMLSchema" - xmlns:tns="http://www.example.org/Main"> - - <xsd:complexType name="Inc1CT1"> - <xsd:sequence> - <xsd:element name="e1" type="xsd:string" maxOccurs="25"></xsd:element> - </xsd:sequence> - </xsd:complexType> - - <xsd:group name="Inc1Gr1"> - <xsd:sequence> - <xsd:element name="e1" type="xsd:string"></xsd:element> - </xsd:sequence> - </xsd:group> - - <xsd:attribute name="Inc1Attr1" type="tns:Inc1ST1"></xsd:attribute> - - <xsd:attributeGroup name="Inc1AttrGr1"> - <xsd:attribute name="at1" type="xsd:string"></xsd:attribute> - </xsd:attributeGroup> - - <xsd:element name="Inc1Elem1" type="xsd:string"></xsd:element> - - <xsd:simpleType name="Inc1ST1"> - <xsd:restriction base="xsd:string"></xsd:restriction> - </xsd:simpleType> - - <xsd:simpleType name="Inc1ST2"> - <xsd:restriction base="xsd:string"></xsd:restriction> - </xsd:simpleType> - - <xsd:complexType name="Inc1CT2"> - <xsd:attribute name="attr1" type="xsd:string"></xsd:attribute> - </xsd:complexType> -</xsd:schema>
\ No newline at end of file diff --git a/tests/org.eclipse.wst.xsd.ui.tests/testresources/XSD/xmlnsCleanup/test/Main001.xsd b/tests/org.eclipse.wst.xsd.ui.tests/testresources/XSD/xmlnsCleanup/test/Main001.xsd deleted file mode 100644 index 9b66b1cf3..000000000 --- a/tests/org.eclipse.wst.xsd.ui.tests/testresources/XSD/xmlnsCleanup/test/Main001.xsd +++ /dev/null @@ -1,111 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<schema xmlns="http://www.w3.org/2001/XMLSchema" - targetNamespace="http://www.example.org/Main" - xmlns:tns01="http://www.example.org/Main" - xmlns:tns02="http://www.example.org/Main" - xmlns:tns03="http://www.example.org/Main" - xmlns:tns04="http://www.example.org/Main" - xmlns:tns05="http://www.example.org/Main" - xmlns:tns06="http://www.example.org/Main" - xmlns:tns07="http://www.example.org/Main" - xmlns:tns08="http://www.example.org/Main" - xmlns:tns09="http://www.example.org/Main" - xmlns:tns10="http://www.example.org/Main" - xmlns:tns11="http://www.example.org/Main" - xmlns:tns12="http://www.example.org/Main" - xmlns:p="http://www.example.org/Import" - elementFormDefault="qualified"> - - <element name="MainElem001" type="string"></element> - - <complexType name="MainCT001"> - <sequence> - <element name="CT001Elem001" type="string"></element> - <element ref="tns01:MainElem001"></element> - <any></any> - </sequence> - </complexType> - - <complexType name="MainCT002"> - <complexContent> - <extension base="tns02:MainCT001"></extension> - </complexContent> - </complexType> - - <complexType name="MainCT003"> - <complexContent> - <restriction base="tns03:MainCT001"></restriction> - </complexContent> - </complexType> - - <complexType name="MainCT004"> - <simpleContent> - <extension base="string"> - <annotation> - <appinfo></appinfo> - </annotation> - <attribute name="attr1" type="short"></attribute> - <attributeGroup ref="tns04:MainAttrGr001"></attributeGroup> - <anyAttribute></anyAttribute> - </extension> - </simpleContent> - </complexType> - - <simpleType name="MainST001"> - <restriction base="string"> - <enumeration value="enum1"></enumeration> - </restriction> - </simpleType> - - <simpleType name="MainST002"> - <restriction base="tns05:MainST001"></restriction> - </simpleType> - - <simpleType name="MainST003"> - <list itemType="tns06:MainST001"></list> - </simpleType> - - <simpleType name="MainST004"> - <list> - <simpleType> - <restriction base="tns07:MainST001"></restriction> - </simpleType> - </list> - </simpleType> - - - <simpleType name="MainST005"> - <union memberTypes="tns08:MainST001 tns09:MainST002"></union> - </simpleType> - - <attribute name="MainAttr001" type="string"></attribute> - - <attribute name="MainAttr002" type="string"></attribute> - - <attributeGroup name="MainAttrGr001"> - <attribute ref="tns10:MainAttr001"></attribute> - </attributeGroup> - - <attributeGroup name="MainAttrGr002"></attributeGroup> - - <group name="MainGroup001"> - <sequence> - <group ref="tns11:MainGroup002"></group> - </sequence> - </group> - - <element name="MainElem002" type="string" substitutionGroup="tns12:MainElem001"></element> - - <group name="MainGroup002"> - <sequence> - <element name="e1" type="string"> - <annotation> - <appinfo> - <p:ImpElem1></p:ImpElem1> - </appinfo> - </annotation> - </element> - </sequence> - </group> - -</schema>
\ No newline at end of file diff --git a/tests/org.eclipse.wst.xsd.ui.tests/testresources/XSD/xmlnsCleanup/test/Main002.xsd b/tests/org.eclipse.wst.xsd.ui.tests/testresources/XSD/xmlnsCleanup/test/Main002.xsd deleted file mode 100644 index ea038ca91..000000000 --- a/tests/org.eclipse.wst.xsd.ui.tests/testresources/XSD/xmlnsCleanup/test/Main002.xsd +++ /dev/null @@ -1,37 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<schema xmlns="http://www.w3.org/2001/XMLSchema" - targetNamespace="http://www.example.org/Main" - xmlns:tns01="http://www.example.org/Main" - xmlns:tns02="http://www.example.org/Main" - xmlns:tns03="http://www.example.org/Main" - xmlns:tns04="http://www.example.org/Main" - xmlns:tns05="http://www.example.org/Main" - elementFormDefault="qualified" - xmlns:p="http://www.example.org/Import"> - - <include schemaLocation="../Include1.xsd"></include> - - <element name="MainElem001" type="tns01:Inc1CT1"> - <annotation> - <appinfo> - <p:ImpElem1></p:ImpElem1> - </appinfo> - </annotation> - </element> - - <simpleType name="MainST001"> - <restriction base="string"></restriction> - </simpleType> - - <simpleType name="MainST002"> - <restriction base="tns02:MainST001"></restriction> - </simpleType> - - <simpleType name="MainST005"> - <union memberTypes="tns03:MainST001 - tns04:MainST002 - string - integer "></union> - </simpleType> - -</schema>
\ No newline at end of file diff --git a/tests/org.eclipse.wst.xsd.ui.tests/testresources/XSD/xmlnsCleanup/test/Main003.xsd b/tests/org.eclipse.wst.xsd.ui.tests/testresources/XSD/xmlnsCleanup/test/Main003.xsd deleted file mode 100644 index c88b034bd..000000000 --- a/tests/org.eclipse.wst.xsd.ui.tests/testresources/XSD/xmlnsCleanup/test/Main003.xsd +++ /dev/null @@ -1,110 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<xsd:schema targetNamespace="http://www.example.org/Main" - xmlns:tns01="http://www.example.org/Main" - xmlns:tns02="http://www.example.org/Main" - xmlns:tns03="http://www.example.org/Main" - xmlns:tns04="http://www.example.org/Main" - xmlns:tns05="http://www.example.org/Main" - xmlns:tns06="http://www.example.org/Main" - xmlns:tns07="http://www.example.org/Main" - xmlns:tns08="http://www.example.org/Main" - xmlns:tns09="http://www.example.org/Main" - xmlns:tns10="http://www.example.org/Main" - xmlns:tns11="http://www.example.org/Main" - xmlns:tns12="http://www.example.org/Main" - xmlns:p="http://www.example.org/Import" elementFormDefault="qualified" - xmlns:xsd="http://www.w3.org/2001/XMLSchema"> - - <xsd:element name="MainElem001" type="xsd:string"></xsd:element> - - <xsd:complexType name="MainCT001"> - <xsd:sequence> - <xsd:element name="CT001Elem001" type="xsd:string"></xsd:element> - <xsd:element ref="tns01:MainElem001"></xsd:element> - <xsd:any></xsd:any> - </xsd:sequence> - </xsd:complexType> - - <xsd:complexType name="MainCT002"> - <xsd:complexContent> - <xsd:extension base="tns02:MainCT001"></xsd:extension> - </xsd:complexContent> - </xsd:complexType> - - <xsd:complexType name="MainCT003"> - <xsd:complexContent> - <xsd:restriction base="tns03:MainCT001"></xsd:restriction> - </xsd:complexContent> - </xsd:complexType> - - <xsd:complexType name="MainCT004"> - <xsd:simpleContent> - <xsd:extension base="xsd:string"> - <xsd:annotation> - <xsd:appinfo></xsd:appinfo> - </xsd:annotation> - <xsd:attribute name="attr1" type="xsd:short"></xsd:attribute> - <xsd:attributeGroup ref="tns04:MainAttrGr001"></xsd:attributeGroup> - <xsd:anyAttribute></xsd:anyAttribute> - </xsd:extension> - </xsd:simpleContent> - </xsd:complexType> - - <xsd:simpleType name="MainST001"> - <xsd:restriction base="xsd:string"> - <xsd:enumeration value="enum1"></xsd:enumeration> - </xsd:restriction> - </xsd:simpleType> - - <xsd:simpleType name="MainST002"> - <xsd:restriction base="tns05:MainST001"></xsd:restriction> - </xsd:simpleType> - - <xsd:simpleType name="MainST003"> - <xsd:list itemType="tns06:MainST001"></xsd:list> - </xsd:simpleType> - - <xsd:simpleType name="MainST004"> - <xsd:list> - <xsd:simpleType> - <xsd:restriction base="tns07:MainST001"></xsd:restriction> - </xsd:simpleType> - </xsd:list> - </xsd:simpleType> - - - <xsd:simpleType name="MainST005"> - <xsd:union memberTypes="tns08:MainST001 tns09:MainST002"></xsd:union> - </xsd:simpleType> - - <xsd:attribute name="MainAttr001" type="xsd:string"></xsd:attribute> - - <xsd:attribute name="MainAttr002" type="xsd:string"></xsd:attribute> - - <xsd:attributeGroup name="MainAttrGr001"> - <xsd:attribute ref="tns10:MainAttr001"></xsd:attribute> - </xsd:attributeGroup> - - <xsd:attributeGroup name="MainAttrGr002"></xsd:attributeGroup> - - <xsd:group name="MainGroup001"> - <xsd:sequence> - <xsd:group ref="tns11:MainGroup002"></xsd:group> - </xsd:sequence> - </xsd:group> - - <xsd:element name="MainElem002" type="xsd:string" substitutionGroup="tns12:MainElem001"></xsd:element> - - <xsd:group name="MainGroup002"> - <xsd:sequence> - <xsd:element name="e1" type="xsd:string"> - <xsd:annotation> - <xsd:appinfo> - <p:ImpElem1></p:ImpElem1> - </xsd:appinfo> - </xsd:annotation> - </xsd:element> - </xsd:sequence> - </xsd:group> - -</xsd:schema>
\ No newline at end of file diff --git a/tests/org.eclipse.wst.xsd.ui.tests/testresources/XSD/xmlnsCleanup/test/Main004.xsd b/tests/org.eclipse.wst.xsd.ui.tests/testresources/XSD/xmlnsCleanup/test/Main004.xsd deleted file mode 100644 index 7dcf0f7f8..000000000 --- a/tests/org.eclipse.wst.xsd.ui.tests/testresources/XSD/xmlnsCleanup/test/Main004.xsd +++ /dev/null @@ -1,111 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<xsd:schema targetNamespace="http://www.example.org/Main" - xmlns:tns01="http://www.example.org/Main" - xmlns:tns02="http://www.example.org/Main" - xmlns:tns03="http://www.example.org/Main" - xmlns:tns04="http://www.example.org/Main" - xmlns:tns05="http://www.example.org/Main" - xmlns:tns06="http://www.example.org/Main" - xmlns:tns07="http://www.example.org/Main" - xmlns:tns08="http://www.example.org/Main" - xmlns:tns09="http://www.example.org/Main" - xmlns:tns10="http://www.example.org/Main" - xmlns:tns11="http://www.example.org/Main" - xmlns:tns12="http://www.example.org/Main" - xmlns:p="http://www.example.org/Import" elementFormDefault="qualified" - xmlns:xsd="http://www.w3.org/2001/XMLSchema" - xmlns="http://www.example.org/Main"> - - <xsd:element name="MainElem001" type="xsd:string"></xsd:element> - - <xsd:complexType name="MainCT001"> - <xsd:sequence> - <xsd:element name="CT001Elem001" type="xsd:string"></xsd:element> - <xsd:element ref="tns01:MainElem001"></xsd:element> - <xsd:any></xsd:any> - </xsd:sequence> - </xsd:complexType> - - <xsd:complexType name="MainCT002"> - <xsd:complexContent> - <xsd:extension base="tns01:MainCT001"></xsd:extension> - </xsd:complexContent> - </xsd:complexType> - - <xsd:complexType name="MainCT003"> - <xsd:complexContent> - <xsd:restriction base="tns01:MainCT001"></xsd:restriction> - </xsd:complexContent> - </xsd:complexType> - - <xsd:complexType name="MainCT004"> - <xsd:simpleContent> - <xsd:extension base="xsd:string"> - <xsd:annotation> - <xsd:appinfo></xsd:appinfo> - </xsd:annotation> - <xsd:attribute name="attr1" type="xsd:short"></xsd:attribute> - <xsd:attributeGroup ref="tns01:MainAttrGr001"></xsd:attributeGroup> - <xsd:anyAttribute></xsd:anyAttribute> - </xsd:extension> - </xsd:simpleContent> - </xsd:complexType> - - <xsd:simpleType name="MainST001"> - <xsd:restriction base="xsd:string"> - <xsd:enumeration value="enum1"></xsd:enumeration> - </xsd:restriction> - </xsd:simpleType> - - <xsd:simpleType name="MainST002"> - <xsd:restriction base="tns01:MainST001"></xsd:restriction> - </xsd:simpleType> - - <xsd:simpleType name="MainST003"> - <xsd:list itemType="tns01:MainST001"></xsd:list> - </xsd:simpleType> - - <xsd:simpleType name="MainST004"> - <xsd:list> - <xsd:simpleType> - <xsd:restriction base="tns01:MainST001"></xsd:restriction> - </xsd:simpleType> - </xsd:list> - </xsd:simpleType> - - - <xsd:simpleType name="MainST005"> - <xsd:union memberTypes="tns01:MainST001 tns01:MainST002"></xsd:union> - </xsd:simpleType> - - <xsd:attribute name="MainAttr001" type="xsd:string"></xsd:attribute> - - <xsd:attribute name="MainAttr002" type="xsd:string"></xsd:attribute> - - <xsd:attributeGroup name="MainAttrGr001"> - <xsd:attribute ref="tns01:MainAttr001"></xsd:attribute> - </xsd:attributeGroup> - - <xsd:attributeGroup name="MainAttrGr002"></xsd:attributeGroup> - - <xsd:group name="MainGroup001"> - <xsd:sequence> - <xsd:group ref="tns01:MainGroup002"></xsd:group> - </xsd:sequence> - </xsd:group> - - <xsd:element name="MainElem002" type="xsd:string" substitutionGroup="tns01:MainElem001"></xsd:element> - - <xsd:group name="MainGroup002"> - <xsd:sequence> - <xsd:element name="e1" type="xsd:string"> - <xsd:annotation> - <xsd:appinfo> - <p:ImpElem1></p:ImpElem1> - </xsd:appinfo> - </xsd:annotation> - </xsd:element> - </xsd:sequence> - </xsd:group> - -</xsd:schema>
\ No newline at end of file diff --git a/tests/org.eclipse.wst.xsd.ui.tests/testresources/XSD/xmlnsCleanup/test/Main005.xsd b/tests/org.eclipse.wst.xsd.ui.tests/testresources/XSD/xmlnsCleanup/test/Main005.xsd deleted file mode 100644 index 971393ceb..000000000 --- a/tests/org.eclipse.wst.xsd.ui.tests/testresources/XSD/xmlnsCleanup/test/Main005.xsd +++ /dev/null @@ -1,111 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<xsd:schema targetNamespace="http://www.example.org/Main" - xmlns:tns01="http://www.example.org/Main" - xmlns:tns02="http://www.example.org/Main" - xmlns:tns03="http://www.example.org/Main" - xmlns:tns04="http://www.example.org/Main" - xmlns:tns05="http://www.example.org/Main" - xmlns:tns06="http://www.example.org/Main" - xmlns:tns07="http://www.example.org/Main" - xmlns:tns08="http://www.example.org/Main" - xmlns:tns09="http://www.example.org/Main" - xmlns:tns10="http://www.example.org/Main" - xmlns:tns11="http://www.example.org/Main" - xmlns:tns12="http://www.example.org/Main" - xmlns:p="http://www.example.org/Import" elementFormDefault="qualified" - xmlns:xsd="http://www.w3.org/2001/XMLSchema" - xmlns="http://www.example.org/Main"> - - <xsd:element name="MainElem001" type="xsd:string"></xsd:element> - - <xsd:complexType name="MainCT001"> - <xsd:sequence> - <xsd:element name="CT001Elem001" type="xsd:string"></xsd:element> - <xsd:element ref="MainElem001"></xsd:element> - <xsd:any></xsd:any> - </xsd:sequence> - </xsd:complexType> - - <xsd:complexType name="MainCT002"> - <xsd:complexContent> - <xsd:extension base="MainCT001"></xsd:extension> - </xsd:complexContent> - </xsd:complexType> - - <xsd:complexType name="MainCT003"> - <xsd:complexContent> - <xsd:restriction base="MainCT001"></xsd:restriction> - </xsd:complexContent> - </xsd:complexType> - - <xsd:complexType name="MainCT004"> - <xsd:simpleContent> - <xsd:extension base="xsd:string"> - <xsd:annotation> - <xsd:appinfo></xsd:appinfo> - </xsd:annotation> - <xsd:attribute name="attr1" type="xsd:short"></xsd:attribute> - <xsd:attributeGroup ref="MainAttrGr001"></xsd:attributeGroup> - <xsd:anyAttribute></xsd:anyAttribute> - </xsd:extension> - </xsd:simpleContent> - </xsd:complexType> - - <xsd:simpleType name="MainST001"> - <xsd:restriction base="xsd:string"> - <xsd:enumeration value="enum1"></xsd:enumeration> - </xsd:restriction> - </xsd:simpleType> - - <xsd:simpleType name="MainST002"> - <xsd:restriction base="MainST001"></xsd:restriction> - </xsd:simpleType> - - <xsd:simpleType name="MainST003"> - <xsd:list itemType="MainST001"></xsd:list> - </xsd:simpleType> - - <xsd:simpleType name="MainST004"> - <xsd:list> - <xsd:simpleType> - <xsd:restriction base="MainST001"></xsd:restriction> - </xsd:simpleType> - </xsd:list> - </xsd:simpleType> - - - <xsd:simpleType name="MainST005"> - <xsd:union memberTypes="MainST001 MainST002"></xsd:union> - </xsd:simpleType> - - <xsd:attribute name="MainAttr001" type="xsd:string"></xsd:attribute> - - <xsd:attribute name="MainAttr002" type="xsd:string"></xsd:attribute> - - <xsd:attributeGroup name="MainAttrGr001"> - <xsd:attribute ref="MainAttr001"></xsd:attribute> - </xsd:attributeGroup> - - <xsd:attributeGroup name="MainAttrGr002"></xsd:attributeGroup> - - <xsd:group name="MainGroup001"> - <xsd:sequence> - <xsd:group ref="MainGroup002"></xsd:group> - </xsd:sequence> - </xsd:group> - - <xsd:element name="MainElem002" type="xsd:string" substitutionGroup="MainElem001"></xsd:element> - - <xsd:group name="MainGroup002"> - <xsd:sequence> - <xsd:element name="e1" type="xsd:string"> - <xsd:annotation> - <xsd:appinfo> - <p:ImpElem1></p:ImpElem1> - </xsd:appinfo> - </xsd:annotation> - </xsd:element> - </xsd:sequence> - </xsd:group> - -</xsd:schema>
\ No newline at end of file diff --git a/tests/org.eclipse.wst.xsd.ui.tests/testresources/XSD/xmlnsCleanup/test/Main006.xsd b/tests/org.eclipse.wst.xsd.ui.tests/testresources/XSD/xmlnsCleanup/test/Main006.xsd deleted file mode 100644 index 3dbb2e77f..000000000 --- a/tests/org.eclipse.wst.xsd.ui.tests/testresources/XSD/xmlnsCleanup/test/Main006.xsd +++ /dev/null @@ -1,99 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<xsd:schema - xmlns:tns01="http://www.example.org/Main" - xmlns:p="http://www.example.org/Import" elementFormDefault="qualified" - xmlns:xsd="http://www.w3.org/2001/XMLSchema"> - - <xsd:element name="MainElem001" type="xsd:string"></xsd:element> - - <xsd:complexType name="MainCT001"> - <xsd:sequence> - <xsd:element name="CT001Elem001" type="xsd:string"></xsd:element> - <xsd:element ref="MainElem001"></xsd:element> - <xsd:any></xsd:any> - </xsd:sequence> - </xsd:complexType> - - <xsd:complexType name="MainCT002"> - <xsd:complexContent> - <xsd:extension base="MainCT001"></xsd:extension> - </xsd:complexContent> - </xsd:complexType> - - <xsd:complexType name="MainCT003"> - <xsd:complexContent> - <xsd:restriction base="MainCT001"></xsd:restriction> - </xsd:complexContent> - </xsd:complexType> - - <xsd:complexType name="MainCT004"> - <xsd:simpleContent> - <xsd:extension base="xsd:string"> - <xsd:annotation> - <xsd:appinfo></xsd:appinfo> - </xsd:annotation> - <xsd:attribute name="attr1" type="xsd:short"></xsd:attribute> - <xsd:attributeGroup ref="MainAttrGr001"></xsd:attributeGroup> - <xsd:anyAttribute></xsd:anyAttribute> - </xsd:extension> - </xsd:simpleContent> - </xsd:complexType> - - <xsd:simpleType name="MainST001"> - <xsd:restriction base="xsd:string"> - <xsd:enumeration value="enum1"></xsd:enumeration> - </xsd:restriction> - </xsd:simpleType> - - <xsd:simpleType name="MainST002"> - <xsd:restriction base="MainST001"></xsd:restriction> - </xsd:simpleType> - - <xsd:simpleType name="MainST003"> - <xsd:list itemType="MainST001"></xsd:list> - </xsd:simpleType> - - <xsd:simpleType name="MainST004"> - <xsd:list> - <xsd:simpleType> - <xsd:restriction base="MainST001"></xsd:restriction> - </xsd:simpleType> - </xsd:list> - </xsd:simpleType> - - - <xsd:simpleType name="MainST005"> - <xsd:union memberTypes="MainST001 MainST002"></xsd:union> - </xsd:simpleType> - - <xsd:attribute name="MainAttr001" type="xsd:string"></xsd:attribute> - - <xsd:attribute name="MainAttr002" type="xsd:string"></xsd:attribute> - - <xsd:attributeGroup name="MainAttrGr001"> - <xsd:attribute ref="MainAttr001"></xsd:attribute> - </xsd:attributeGroup> - - <xsd:attributeGroup name="MainAttrGr002"></xsd:attributeGroup> - - <xsd:group name="MainGroup001"> - <xsd:sequence> - <xsd:group ref="MainGroup002"></xsd:group> - </xsd:sequence> - </xsd:group> - - <xsd:element name="MainElem002" type="xsd:string" substitutionGroup="MainElem001"></xsd:element> - - <xsd:group name="MainGroup002"> - <xsd:sequence> - <xsd:element name="e1" type="xsd:string"> - <xsd:annotation> - <xsd:appinfo> - <p:ImpElem1></p:ImpElem1> - </xsd:appinfo> - </xsd:annotation> - </xsd:element> - </xsd:sequence> - </xsd:group> - -</xsd:schema>
\ No newline at end of file diff --git a/tests/org.eclipse.wst.xsd.ui.tests/testresources/XSD/xmlnsCleanup/test/Main007.xsd b/tests/org.eclipse.wst.xsd.ui.tests/testresources/XSD/xmlnsCleanup/test/Main007.xsd deleted file mode 100644 index ae3accf61..000000000 --- a/tests/org.eclipse.wst.xsd.ui.tests/testresources/XSD/xmlnsCleanup/test/Main007.xsd +++ /dev/null @@ -1,100 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<xsd:schema targetNamespace="http://www.example.org/Main" - xmlns:p="http://www.example.org/Import" elementFormDefault="qualified" - xmlns:xsd="http://www.w3.org/2001/XMLSchema" - xmlns:tns="http://www.example.org/Main" - xmlns="http://Unused"> - - <xsd:element name="MainElem001" type="xsd:string"></xsd:element> - - <xsd:complexType name="MainCT001"> - <xsd:sequence> - <xsd:element name="CT001Elem001" type="xsd:string"></xsd:element> - <xsd:element ref="tns:MainElem001"></xsd:element> - <xsd:any></xsd:any> - </xsd:sequence> - </xsd:complexType> - - <xsd:complexType name="MainCT002"> - <xsd:complexContent> - <xsd:extension base="tns:MainCT001"></xsd:extension> - </xsd:complexContent> - </xsd:complexType> - - <xsd:complexType name="MainCT003"> - <xsd:complexContent> - <xsd:restriction base="tns:MainCT001"></xsd:restriction> - </xsd:complexContent> - </xsd:complexType> - - <xsd:complexType name="MainCT004"> - <xsd:simpleContent> - <xsd:extension base="xsd:string"> - <xsd:annotation> - <xsd:appinfo></xsd:appinfo> - </xsd:annotation> - <xsd:attribute name="attr1" type="xsd:short"></xsd:attribute> - <xsd:attributeGroup ref="tns:MainAttrGr001"></xsd:attributeGroup> - <xsd:anyAttribute></xsd:anyAttribute> - </xsd:extension> - </xsd:simpleContent> - </xsd:complexType> - - <xsd:simpleType name="MainST001"> - <xsd:restriction base="xsd:string"> - <xsd:enumeration value="enum1"></xsd:enumeration> - </xsd:restriction> - </xsd:simpleType> - - <xsd:simpleType name="MainST002"> - <xsd:restriction base="tns:MainST001"></xsd:restriction> - </xsd:simpleType> - - <xsd:simpleType name="MainST003"> - <xsd:list itemType="tns:MainST001"></xsd:list> - </xsd:simpleType> - - <xsd:simpleType name="MainST004"> - <xsd:list> - <xsd:simpleType> - <xsd:restriction base="tns:MainST001"></xsd:restriction> - </xsd:simpleType> - </xsd:list> - </xsd:simpleType> - - - <xsd:simpleType name="MainST005"> - <xsd:union memberTypes="tns:MainST001 tns:MainST002"></xsd:union> - </xsd:simpleType> - - <xsd:attribute name="MainAttr001" type="xsd:string"></xsd:attribute> - - <xsd:attribute name="MainAttr002" type="xsd:string"></xsd:attribute> - - <xsd:attributeGroup name="MainAttrGr001"> - <xsd:attribute ref="tns:MainAttr001"></xsd:attribute> - </xsd:attributeGroup> - - <xsd:attributeGroup name="MainAttrGr002"></xsd:attributeGroup> - - <xsd:group name="MainGroup001"> - <xsd:sequence> - <xsd:group ref="tns:MainGroup002"></xsd:group> - </xsd:sequence> - </xsd:group> - - <xsd:element name="MainElem002" type="xsd:string" substitutionGroup="tns:MainElem001"></xsd:element> - - <xsd:group name="MainGroup002"> - <xsd:sequence> - <xsd:element name="e1" type="xsd:string"> - <xsd:annotation> - <xsd:appinfo> - <p:ImpElem1></p:ImpElem1> - </xsd:appinfo> - </xsd:annotation> - </xsd:element> - </xsd:sequence> - </xsd:group> - -</xsd:schema>
\ No newline at end of file diff --git a/tests/org.eclipse.wst.xsd.ui.tests/testresources/XSD/xmlnsCleanup/test/Main008.xsd b/tests/org.eclipse.wst.xsd.ui.tests/testresources/XSD/xmlnsCleanup/test/Main008.xsd deleted file mode 100644 index 9a599444f..000000000 --- a/tests/org.eclipse.wst.xsd.ui.tests/testresources/XSD/xmlnsCleanup/test/Main008.xsd +++ /dev/null @@ -1,100 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<xsd:schema targetNamespace="http://www.example.org/Main" - xmlns:p="http://www.example.org/Import" elementFormDefault="qualified" - xmlns:xsd="http://www.w3.org/2001/XMLSchema" - xmlns:tns="http://www.example.org/Main" - xmlns="http://Used"> - - <xsd:element name="MainElem001" type="xsd:string"></xsd:element> - - <xsd:complexType name="MainCT001"> - <xsd:sequence> - <xsd:element name="CT001Elem001" type="xsd:string"></xsd:element> - <xsd:element ref="tns:MainElem001"></xsd:element> - <xsd:any></xsd:any> - </xsd:sequence> - </xsd:complexType> - - <xsd:complexType name="MainCT002"> - <xsd:complexContent> - <xsd:extension base="tns:MainCT001"></xsd:extension> - </xsd:complexContent> - </xsd:complexType> - - <xsd:complexType name="MainCT003"> - <xsd:complexContent> - <xsd:restriction base="tns:MainCT001"></xsd:restriction> - </xsd:complexContent> - </xsd:complexType> - - <xsd:complexType name="MainCT004"> - <xsd:simpleContent> - <xsd:extension base="xsd:string"> - <xsd:annotation> - <xsd:appinfo></xsd:appinfo> - </xsd:annotation> - <xsd:attribute name="attr1" type="xsd:short"></xsd:attribute> - <xsd:attributeGroup ref="tns:MainAttrGr001"></xsd:attributeGroup> - <xsd:anyAttribute></xsd:anyAttribute> - </xsd:extension> - </xsd:simpleContent> - </xsd:complexType> - - <xsd:simpleType name="MainST001"> - <xsd:restriction base="xsd:string"> - <xsd:enumeration value="enum1"></xsd:enumeration> - </xsd:restriction> - </xsd:simpleType> - - <xsd:simpleType name="MainST002"> - <xsd:restriction base="tns:MainST001"></xsd:restriction> - </xsd:simpleType> - - <xsd:simpleType name="MainST003"> - <xsd:list itemType="tns:MainST001"></xsd:list> - </xsd:simpleType> - - <xsd:simpleType name="MainST004"> - <xsd:list> - <xsd:simpleType> - <xsd:restriction base="tns:MainST001"></xsd:restriction> - </xsd:simpleType> - </xsd:list> - </xsd:simpleType> - - - <xsd:simpleType name="MainST005"> - <xsd:union memberTypes="tns:MainST001 tns:MainST002"></xsd:union> - </xsd:simpleType> - - <xsd:attribute name="MainAttr001" type="xsd:string"></xsd:attribute> - - <xsd:attribute name="MainAttr002" type="xsd:string"></xsd:attribute> - - <xsd:attributeGroup name="MainAttrGr001"> - <xsd:attribute ref="tns:MainAttr001"></xsd:attribute> - </xsd:attributeGroup> - - <xsd:attributeGroup name="MainAttrGr002"></xsd:attributeGroup> - - <xsd:group name="MainGroup001"> - <xsd:sequence> - <xsd:group ref="tns:MainGroup002"></xsd:group> - </xsd:sequence> - </xsd:group> - - <xsd:element name="MainElem002" type="xsd:string" substitutionGroup="tns:MainElem001"></xsd:element> - - <xsd:group name="MainGroup002"> - <xsd:sequence> - <xsd:element name="e1" type="xsd:string"> - <xsd:annotation> - <xsd:appinfo> - <ImpElem1></ImpElem1> - </xsd:appinfo> - </xsd:annotation> - </xsd:element> - </xsd:sequence> - </xsd:group> - -</xsd:schema>
\ No newline at end of file |