You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xmlbeans.apache.org by ce...@apache.org on 2005/03/10 02:02:13 UTC

svn commit: r156721 - in xmlbeans/trunk/test: cases/xbean/misc/jira/ src/misc/detailed/

Author: cezar
Date: Wed Mar  9 17:02:09 2005
New Revision: 156721

URL: http://svn.apache.org/viewcvs?view=rev&rev=156721
Log:
Contributed By Jacob Danner. Cleanup for some inadvertent Jira Files

Removed:
    xmlbeans/trunk/test/cases/xbean/misc/jira/xmlbeans_06.xsd
    xmlbeans/trunk/test/cases/xbean/misc/jira/xmlbeans_14.xsd
    xmlbeans/trunk/test/cases/xbean/misc/jira/xmlbeans_48b.xsd
    xmlbeans/trunk/test/cases/xbean/misc/jira/xmlbeans_90.xsd_
Modified:
    xmlbeans/trunk/test/cases/xbean/misc/jira/easypo.xml
    xmlbeans/trunk/test/cases/xbean/misc/jira/xmlbeans_08.xsd_
    xmlbeans/trunk/test/cases/xbean/misc/jira/xmlbeans_08a.xsd_
    xmlbeans/trunk/test/cases/xbean/misc/jira/xmlbeans_35.xsd_
    xmlbeans/trunk/test/src/misc/detailed/JiraRegression1_50Test.java

Modified: xmlbeans/trunk/test/cases/xbean/misc/jira/easypo.xml
URL: http://svn.apache.org/viewcvs/xmlbeans/trunk/test/cases/xbean/misc/jira/easypo.xml?view=diff&r1=156720&r2=156721
==============================================================================
--- xmlbeans/trunk/test/cases/xbean/misc/jira/easypo.xml (original)
+++ xmlbeans/trunk/test/cases/xbean/misc/jira/easypo.xml Wed Mar  9 17:02:09 2005
@@ -1,21 +1,4 @@
 <?xml version="1.0" encoding="UTF-8" ?>
-<!--
-/*   Copyright 2004 The Apache Software Foundation
- *
- *   Licensed under the Apache License, Version 2.0 (the "License");
- *   you may not use this file except in compliance with the License.
- *   You may obtain a copy of the License at
- *
- *       http://www.apache.org/licenses/LICENSE-2.0
- *
- *   Unless required by applicable law or agreed to in writing, software
- *   distributed under the License is distributed on an "AS IS" BASIS,
- *   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- *   See the License for the specific language governing permissions and
- *  limitations under the License.
- */
--->
-
 <purchase-order xmlns="http://openuri.org/easypo">
     <customer>
         <name>Gladys Kravitz</name>

Modified: xmlbeans/trunk/test/cases/xbean/misc/jira/xmlbeans_08.xsd_
URL: http://svn.apache.org/viewcvs/xmlbeans/trunk/test/cases/xbean/misc/jira/xmlbeans_08.xsd_?view=diff&r1=156720&r2=156721
==============================================================================
--- xmlbeans/trunk/test/cases/xbean/misc/jira/xmlbeans_08.xsd_ (original)
+++ xmlbeans/trunk/test/cases/xbean/misc/jira/xmlbeans_08.xsd_ Wed Mar  9 17:02:09 2005
@@ -1,21 +1,4 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!--
-/*   Copyright 2004 The Apache Software Foundation
- *
- *   Licensed under the Apache License, Version 2.0 (the "License");
- *   you may not use this file except in compliance with the License.
- *   You may obtain a copy of the License at
- *
- *       http://www.apache.org/licenses/LICENSE-2.0
- *
- *   Unless required by applicable law or agreed to in writing, software
- *   distributed under the License is distributed on an "AS IS" BASIS,
- *   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- *   See the License for the specific language governing permissions and
- *  limitations under the License.
- */
--->
-
 <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" 
         elementFormDefault="qualified">
 

Modified: xmlbeans/trunk/test/cases/xbean/misc/jira/xmlbeans_08a.xsd_
URL: http://svn.apache.org/viewcvs/xmlbeans/trunk/test/cases/xbean/misc/jira/xmlbeans_08a.xsd_?view=diff&r1=156720&r2=156721
==============================================================================
--- xmlbeans/trunk/test/cases/xbean/misc/jira/xmlbeans_08a.xsd_ (original)
+++ xmlbeans/trunk/test/cases/xbean/misc/jira/xmlbeans_08a.xsd_ Wed Mar  9 17:02:09 2005
@@ -1,23 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!--
-/*   Copyright 2004 The Apache Software Foundation
- *
- *   Licensed under the Apache License, Version 2.0 (the "License");
- *   you may not use this file except in compliance with the License.
- *   You may obtain a copy of the License at
- *
- *       http://www.apache.org/licenses/LICENSE-2.0
- *
- *   Unless required by applicable law or agreed to in writing, software
- *   distributed under the License is distributed on an "AS IS" BASIS,
- *   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- *   See the License for the specific language governing permissions and
- *  limitations under the License.
- */
--->
 
-<xsd:schema targetNamespace="http://www.w3.org/2001/10/synthesis" 
-xmlns:xsd="http://www.w3.org/2001/XMLSchema" 
+<xsd:schema targetNamespace="http://www.w3.org/2001/10/synthesis"
+xmlns:xsd="http://www.w3.org/2001/XMLSchema"
 xmlns="http://www.w3.org/2001/10/synthesis" elementFormDefault="qualified">
 
 <xsd:redefine schemaLocation="xmlbeans_08.xsd_">

Modified: xmlbeans/trunk/test/cases/xbean/misc/jira/xmlbeans_35.xsd_
URL: http://svn.apache.org/viewcvs/xmlbeans/trunk/test/cases/xbean/misc/jira/xmlbeans_35.xsd_?view=diff&r1=156720&r2=156721
==============================================================================
--- xmlbeans/trunk/test/cases/xbean/misc/jira/xmlbeans_35.xsd_ (original)
+++ xmlbeans/trunk/test/cases/xbean/misc/jira/xmlbeans_35.xsd_ Wed Mar  9 17:02:09 2005
@@ -1,111 +1,95 @@
-<?xml version="1.0" encoding="UTF-8"?> 
-<!--
-/*   Copyright 2004 The Apache Software Foundation
- *
- *   Licensed under the Apache License, Version 2.0 (the "License");
- *   you may not use this file except in compliance with the License.
- *   You may obtain a copy of the License at
- *
- *       http://www.apache.org/licenses/LICENSE-2.0
- *
- *   Unless required by applicable law or agreed to in writing, software
- *   distributed under the License is distributed on an "AS IS" BASIS,
- *   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- *   See the License for the specific language governing permissions and
- *  limitations under the License.
- */
--->
+<?xml version="1.0" encoding="UTF-8"?>
 
-<xs:schema targetNamespace="http://openuri/org/xbeans36" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:p="http://openuri/org/xbeans36" elementFormDefault="qualified" attributeFormDefault="unqualified" xsi:schemaLocation="http://www.w3.org/2001/XMLSchema http://www.w3.org/2001/XMLSchema.xsd"> 
-    <xs:element name="config_test"> 
-        <xs:annotation> 
-            <xs:documentation>XPL root element</xs:documentation> 
-        </xs:annotation> 
-        <xs:complexType> 
-            <xs:sequence> 
-                <xs:element name="param_test" minOccurs="0" maxOccurs="unbounded"> 
-                    <xs:complexType> 
-                        <xs:attribute name="name_test" type="xs:string" use="required"/> 
-                        <xs:attribute name="type_test" type="xs:string" use="required"/> 
-                        <xs:attributeGroup ref="p:debug-schema-attributes"/> 
-                    </xs:complexType> 
-                </xs:element> 
-                <xs:group ref="p:statements_test"/> 
-            </xs:sequence> 
-        </xs:complexType> 
-    </xs:element> 
-    <xs:group name="statement"> 
-        <xs:sequence> 
-            <xs:choice> 
-                <xs:element name="processor_test"> 
-                    <xs:complexType> 
-                        <xs:sequence> 
-                            <xs:element name="input" minOccurs="0" maxOccurs="unbounded"> 
-                                <xs:complexType> 
-                                    <xs:sequence> 
-                                        <xs:any processContents="lax" minOccurs="0"/> 
-                                    </xs:sequence> 
-                                    <xs:attribute name="name_test" type="xs:string" use="required"/> 
-                                    <xs:attribute name="href_test" type="xs:string" use="optional"/> 
-                                    <xs:attributeGroup ref="p:debug-schema-attributes"/> 
-                                </xs:complexType> 
-                            </xs:element> 
-                            <xs:element name="output" minOccurs="0" maxOccurs="unbounded"> 
-                                <xs:complexType> 
-                                    <xs:sequence> 
-                                        <xs:any processContents="lax" minOccurs="0"/> 
-                                    </xs:sequence> 
-                                    <xs:attribute name="name_test" type="xs:string" use="required"/> 
-                                    <xs:attribute name="id_test" type="xs:string" use="optional"/> 
-                                    <xs:attribute name="ref" type="xs:string" use="optional"/> 
-                                    <xs:attributeGroup ref="p:debug-schema-attributes"/> 
-                                </xs:complexType> 
-                            </xs:element> 
-                        </xs:sequence> 
-                        <xs:attribute name="uri_test" type="xs:anyURI" use="optional"/> 
-                        <xs:attribute name="name_test" type="xs:anyURI" use="optional"/> 
-                        <xs:attribute name="encapsulation_test" type="xs:string" use="optional"/> 
-                    </xs:complexType> 
-                </xs:element> 
-                <xs:element name="choose"> 
-                    <xs:complexType> 
-                        <xs:sequence> 
-                            <xs:element name="when_test" maxOccurs="unbounded"> 
-                                <xs:complexType> 
-                                    <xs:group ref="p:statements_test"/> 
-                                    <xs:attribute name="test" type="xs:string" use="required"/> 
-                                </xs:complexType> 
-                            </xs:element> 
-                            <xs:element name="otherwise_test" minOccurs="0"> 
-                                <xs:complexType> 
-                                    <xs:group ref="p:statements_test"/> 
-                                </xs:complexType> 
-                            </xs:element> 
-                        </xs:sequence> 
-                        <xs:attribute name="href_test" type="xs:string" use="required"/> 
-                        <xs:attributeGroup ref="p:debug-schema-attributes"/> 
-                    </xs:complexType> 
-                </xs:element> 
-                <xs:element name="for-each"> 
-                    <xs:complexType> 
-                        <xs:group ref="p:statements_test"/> 
-                        <xs:attribute name="href_test" type="xs:string" use="required"/> 
-                        <xs:attribute name="select_test" type="xs:string" use="required"/> 
-                        <xs:attribute name="id_test" type="xs:QName" use="required"/> 
-                        <xs:attribute name="root_test" type="xs:QName" use="required"/> 
-                    </xs:complexType> 
-                </xs:element> 
-            </xs:choice> 
-        </xs:sequence> 
-    </xs:group> 
-    <xs:group name="statements_test"> 
-        <xs:sequence> 
-            <xs:group ref="p:statement" minOccurs="0" maxOccurs="unbounded"/> 
-        </xs:sequence> 
-    </xs:group> 
-    <xs:attributeGroup name="debug-schema-attributes"> 
-        <xs:attribute name="debug_test" type="xs:string" use="optional"/> 
-        <xs:attribute name="schema-href_test" type="xs:anyURI" use="optional"/> 
-        <xs:attribute name="schema-uri_test" type="xs:anyURI" use="optional"/> 
-    </xs:attributeGroup> 
-</xs:schema> 
+<xs:schema targetNamespace="http://openuri/org/xbeans36" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:p="http://openuri/org/xbeans36" elementFormDefault="qualified" attributeFormDefault="unqualified" xsi:schemaLocation="http://www.w3.org/2001/XMLSchema http://www.w3.org/2001/XMLSchema.xsd">
+    <xs:element name="config_test">
+        <xs:annotation>
+            <xs:documentation>XPL root element</xs:documentation>
+        </xs:annotation>
+        <xs:complexType>
+            <xs:sequence>
+                <xs:element name="param_test" minOccurs="0" maxOccurs="unbounded">
+                    <xs:complexType>
+                        <xs:attribute name="name_test" type="xs:string" use="required"/>
+                        <xs:attribute name="type_test" type="xs:string" use="required"/>
+                        <xs:attributeGroup ref="p:debug-schema-attributes"/>
+                    </xs:complexType>
+                </xs:element>
+                <xs:group ref="p:statements_test"/>
+            </xs:sequence>
+        </xs:complexType>
+    </xs:element>
+    <xs:group name="statement">
+        <xs:sequence>
+            <xs:choice>
+                <xs:element name="processor_test">
+                    <xs:complexType>
+                        <xs:sequence>
+                            <xs:element name="input" minOccurs="0" maxOccurs="unbounded">
+                                <xs:complexType>
+                                    <xs:sequence>
+                                        <xs:any processContents="lax" minOccurs="0"/>
+                                    </xs:sequence>
+                                    <xs:attribute name="name_test" type="xs:string" use="required"/>
+                                    <xs:attribute name="href_test" type="xs:string" use="optional"/>
+                                    <xs:attributeGroup ref="p:debug-schema-attributes"/>
+                                </xs:complexType>
+                            </xs:element>
+                            <xs:element name="output" minOccurs="0" maxOccurs="unbounded">
+                                <xs:complexType>
+                                    <xs:sequence>
+                                        <xs:any processContents="lax" minOccurs="0"/>
+                                    </xs:sequence>
+                                    <xs:attribute name="name_test" type="xs:string" use="required"/>
+                                    <xs:attribute name="id_test" type="xs:string" use="optional"/>
+                                    <xs:attribute name="ref" type="xs:string" use="optional"/>
+                                    <xs:attributeGroup ref="p:debug-schema-attributes"/>
+                                </xs:complexType>
+                            </xs:element>
+                        </xs:sequence>
+                        <xs:attribute name="uri_test" type="xs:anyURI" use="optional"/>
+                        <xs:attribute name="name_test" type="xs:anyURI" use="optional"/>
+                        <xs:attribute name="encapsulation_test" type="xs:string" use="optional"/>
+                    </xs:complexType>
+                </xs:element>
+                <xs:element name="choose">
+                    <xs:complexType>
+                        <xs:sequence>
+                            <xs:element name="when_test" maxOccurs="unbounded">
+                                <xs:complexType>
+                                    <xs:group ref="p:statements_test"/>
+                                    <xs:attribute name="test" type="xs:string" use="required"/>
+                                </xs:complexType>
+                            </xs:element>
+                            <xs:element name="otherwise_test" minOccurs="0">
+                                <xs:complexType>
+                                    <xs:group ref="p:statements_test"/>
+                                </xs:complexType>
+                            </xs:element>
+                        </xs:sequence>
+                        <xs:attribute name="href_test" type="xs:string" use="required"/>
+                        <xs:attributeGroup ref="p:debug-schema-attributes"/>
+                    </xs:complexType>
+                </xs:element>
+                <xs:element name="for-each">
+                    <xs:complexType>
+                        <xs:group ref="p:statements_test"/>
+                        <xs:attribute name="href_test" type="xs:string" use="required"/>
+                        <xs:attribute name="select_test" type="xs:string" use="required"/>
+                        <xs:attribute name="id_test" type="xs:QName" use="required"/>
+                        <xs:attribute name="root_test" type="xs:QName" use="required"/>
+                    </xs:complexType>
+                </xs:element>
+            </xs:choice>
+        </xs:sequence>
+    </xs:group>
+    <xs:group name="statements_test">
+        <xs:sequence>
+            <xs:group ref="p:statement" minOccurs="0" maxOccurs="unbounded"/>
+        </xs:sequence>
+    </xs:group>
+    <xs:attributeGroup name="debug-schema-attributes">
+        <xs:attribute name="debug_test" type="xs:string" use="optional"/>
+        <xs:attribute name="schema-href_test" type="xs:anyURI" use="optional"/>
+        <xs:attribute name="schema-uri_test" type="xs:anyURI" use="optional"/>
+    </xs:attributeGroup>
+</xs:schema>

Modified: xmlbeans/trunk/test/src/misc/detailed/JiraRegression1_50Test.java
URL: http://svn.apache.org/viewcvs/xmlbeans/trunk/test/src/misc/detailed/JiraRegression1_50Test.java?view=diff&r1=156720&r2=156721
==============================================================================
--- xmlbeans/trunk/test/src/misc/detailed/JiraRegression1_50Test.java (original)
+++ xmlbeans/trunk/test/src/misc/detailed/JiraRegression1_50Test.java Wed Mar  9 17:02:09 2005
@@ -27,11 +27,7 @@
 import org.apache.xmlbeans.impl.xb.xsdschema.SchemaDocument;
 import org.w3c.dom.Element;
 import org.w3c.dom.NamedNodeMap;
-import org.xmlsoap.schemas.ws.x2004.x08.addressing.EndpointReferenceType;
-import org.xmlsoap.schemas.ws.x2004.x08.addressing.ReferencePropertiesType;
 import junit.framework.Assert;
-import xmlbeans06.Area;
-import xmlbeans06.StateProvince;
 
 import javax.xml.namespace.QName;
 
@@ -124,72 +120,7 @@
         }
     }
 
-    /*
-    * [XMLBEANS-6] getter for enumeration array throws ArrayStoreException
-    *
-    */
-    public void test_jira_xmlbeans06() throws Exception {
-        // refer xsd : xmlbeans_06.xsd, xbeans06.jar from scomp
-        try {
-            Area area = Area.Factory.newInstance();
-            area.addState(StateProvince.OR);
-            area.addState(StateProvince.WA);
-            StateProvince.Enum[] enumStates = area.getStateArray();
-            for (int i = 0; i < enumStates.length; i++) {
-                System.out.println("State Elem enums are :" + enumStates[i]);
-            }
-        } catch (ArrayStoreException ae) {
-            ae.getMessage();
-            ae.printStackTrace();
-            Assert.fail("Array Store Exception thrown for repro of Bug Jira06. Not expected");
-        }
-    }
 
-    /*
-    * [XMLBEANS-8] NullPointerException @SchemaTypeImpl.setShortJavaName when using scomp
-    *
-    */
-    public void test_jira_xmlbeans08() {
-        // invoking scomp via 'testbuild ant directive resilts in NPE for these schemas (xmlbeans_08a.xsd, xmlbeans_08.xsd
-        /*Assert.fail("scomp fails with NPE. The Error is : " +
-        "scomp:\n" +
-        "     [echo] Compiling D:\\SVNNEW\\xmlbeans\\trunk/build/test/schemas/xbean/misc using compiler from: org.apache.xmlbeans.impl.tool.SchemaCompiler\n" +
-        "     [java] xmlbeans_08a.xsd:8: error: rcase-RecurseLax.2: Invalid Restriction.  The following particles of the derived <choice> cannot be mapped to the base <choice>'s particles: <element name=\"metadata@http://www.w3.org/2001/10/synthesis\">\n" +
-        "     [java] Exception in thread \"main\" java.lang.NullPointerException\n" +
-        "     [java] \tat org.apache.xmlbeans.impl.schema.SchemaTypeImpl.setShortJavaName(SchemaTypeImpl.java:535)\n" +
-        "     [java] \tat org.apache.xmlbeans.impl.schema.StscJavaizer.assignJavaAnonymousTypeNames(StscJavaizer.java:357)\n" +
-        "     [java] \tat org.apache.xmlbeans.impl.schema.StscJavaizer.javaizeType(StscJavaizer.java:267)\n" +
-        "     [java] \tat org.apache.xmlbeans.impl.schema.StscJavaizer.javaizeType(StscJavaizer.java:223)\n" +
-        "     [java] \tat org.apache.xmlbeans.impl.schema.StscJavaizer.javaizeAllTypes(StscJavaizer.java:63)\n" +
-        "     [java] \tat org.apache.xmlbeans.impl.schema.SchemaTypeSystemCompiler.compileImpl(SchemaTypeSystemCompiler.java:310)\n" +
-        "     [java] \tat org.apache.xmlbeans.impl.schema.SchemaTypeSystemCompiler.compile(SchemaTypeSystemCompiler.java:181)\n" +
-        "     [java] \tat org.apache.xmlbeans.impl.tool.SchemaCompiler.loadTypeSystem(SchemaCompiler.java:947)\n" +
-        "     [java] \tat org.apache.xmlbeans.impl.tool.SchemaCompiler.compile(SchemaCompiler.java:1067)\n" +
-        "     [java] \tat org.apache.xmlbeans.impl.tool.SchemaCompiler.main(SchemaCompiler.java:367)\n" +
-        "     [echo] jar.file: D:\\SVNNEW\\xmlbeans\\trunk/build/test/lib/schemajars/misc.jar");
-        */
-
-        List errors = new ArrayList();
-
-        SchemaCompiler.Parameters params = new SchemaCompiler.Parameters();
-        params.setXsdFiles(new File[]{new File(scompTestFilesRoot + "xmlbeans_08a.xsd_")});
-        params.setErrorListener(errors);
-        params.setSrcDir(schemaCompSrcDir);
-        params.setClassesDir(schemaCompClassesDir);
-
-        try {
-            SchemaCompiler.compile(params);
-        } catch (NullPointerException npe) {
-            if (!errors.isEmpty()) {
-                for (Iterator itr = errors.iterator(); itr.hasNext();) {
-                    System.out.println("scomp errors: " + itr.next());
-                }
-            }
-
-            Assert.fail("test_jira_xmlbeans08() :Null Pointer Exception thrown with above errors!");
-        }
-
-    }
 
     /*
     * [XMLBEANS-9] Null Pointer Exception when running validate from cmd line
@@ -271,38 +202,20 @@
     *
     */
     public void test_jira_xmlbeans14() throws Exception {
-        /*
-        <?xml version="1.0" encoding="UTF-8"?>
-        <xml-fragment><some:SomeName1 xmlns:some="Some uri">SomeValue1</some:SomeName1><some:SomeName xmlns:some="Some uri">Some
-        Value</some:SomeName></xml-fragment>Exception in thread "main" java.lang.NullPointerException
-        at org.apache.xmlbeans.impl.store.Saver$DomSaver.emitContainer(Saver.java:4514)
-        at org.apache.xmlbeans.impl.store.Saver.processContainer(Saver.java:775)
-        at org.apache.xmlbeans.impl.store.Saver.process(Saver.java:518)
-        at org.apache.xmlbeans.impl.store.Saver$DomSaver.exportDom(Saver.java:4461)
-        at org.apache.xmlbeans.impl.store.Cursor.newDomNode(Cursor.java:2954)
-        at org.apache.xmlbeans.impl.values.XmlObjectBase.newDomNode(XmlObjectBase.java:154)
-        at org.apache.xmlbeans.impl.values.XmlObjectBase.newDomNode(XmlObjectBase.java:151)
-        at MyClass.getNode(MyClass.java:27)
-        at MyClass.main(MyClass.java:44)
-        */
-
-        // the wsdl schema http://schemas.xmlsoap.org/ws/2004/08/addressing is compiled into xmlbeans_14.jar
-        EndpointReferenceType lEndPointXmlBeanObject = EndpointReferenceType.Factory.newInstance();
-        ReferencePropertiesType m_TargetObject = lEndPointXmlBeanObject.addNewReferenceProperties();
-
+        XmlObject xObj = XmlObject.Factory.parse("<Baz/>");
         // add element
-        XmlCursor xCursor = m_TargetObject.newCursor();
+        XmlCursor xCursor = xObj.newCursor();
         xCursor.toFirstContentToken();
         xCursor.insertElementWithText(new QName("Some uri", "SomeName"), "SomeValue");
         xCursor.insertElementWithText(new QName("Some uri", "SomeName1"), "SomeValue1");
         xCursor.dispose();
 
         // debug
-        m_TargetObject.save(System.out);
+        xObj.save(System.out);
 
         // throws npe in v1
         try {
-            m_TargetObject.newDomNode();
+            xObj.newDomNode();
         } catch (NullPointerException npe) {
             Assert.fail("test_jira_xmlbeans14() : Null Pointer Exception when create Dom Node");
         }
@@ -391,38 +304,6 @@
         }
 
     }
-
-    /*
-    * [XMLBEANS-35]: OutOfMemoryError with this schema : Circular reference to Model Groups
-    *
-    */
-    public void test_jira_xmlbeans35() {
-        XmlOptions options = new XmlOptions();
-        List errors = new ArrayList();
-        options.setErrorListener(errors);
-
-        try {
-            XmlObject xobjs [] = new XmlObject[]{compileXsdFile(scompTestFilesRoot + "xmlbeans_35.xsd_")};
-
-            SchemaTypeSystem sts = XmlBeans.compileXsd(xobjs, null, options);
-
-            sts.saveToDirectory(schemaCompOutputDirFile);
-        } catch (XmlException xme) {
-            if (!errors.isEmpty()) {
-                for (Iterator itr = errors.iterator(); itr.hasNext();) {
-                    System.out.println("scomp errors: ");
-                }
-            }
-
-        }
-
-        if (printOptionErrMsgs(errors)) {
-            Assert.fail("test_jira_xmlbeans34() : Errors found when executing scomp");
-        }
-
-        Assert.fail("Fails due to Out of Memory");
-    }
-
 
 
     /**



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@xmlbeans.apache.org
For additional commands, e-mail: commits-help@xmlbeans.apache.org