org.exist.xmldb.test
Class IndexingTest

java.lang.Object
  extended byTestCase
      extended byorg.exist.xmldb.test.IndexingTest

public class IndexingTest
extends TestCase

Reproduce the EXistException "the document is too complex/irregularily structured to be mapped into eXist's numbering scheme" raised in org/exist/dom/DocumentImpl . It creates with DOM a simple document having a branch of 16 elements depth connected to the root, with width (arity) of 16 at each level.

See Also:
Serialized Form

Constructor Summary
IndexingTest(java.lang.String arg0)
           
 
Method Summary
static void main(java.lang.String[] args)
           
protected  void setUp()
           
 void testIrregularilyStructured()
           
 void testIrregularilyStructured(boolean getContentAsDOM)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IndexingTest

public IndexingTest(java.lang.String arg0)
Method Detail

setUp

protected void setUp()
See Also:
junit.framework.TestCase#setUp()

main

public static void main(java.lang.String[] args)
                 throws XMLDBException,
                        javax.xml.parsers.ParserConfigurationException,
                        org.xml.sax.SAXException,
                        java.io.IOException,
                        java.lang.ClassNotFoundException,
                        java.lang.IllegalAccessException,
                        java.lang.InstantiationException
Throws:
XMLDBException
javax.xml.parsers.ParserConfigurationException
org.xml.sax.SAXException
java.io.IOException
java.lang.ClassNotFoundException
java.lang.IllegalAccessException
java.lang.InstantiationException

testIrregularilyStructured

public void testIrregularilyStructured()
                                throws XMLDBException,
                                       javax.xml.parsers.ParserConfigurationException,
                                       org.xml.sax.SAXException,
                                       java.io.IOException,
                                       java.lang.ClassNotFoundException,
                                       java.lang.InstantiationException,
                                       java.lang.IllegalAccessException
Throws:
XMLDBException
javax.xml.parsers.ParserConfigurationException
org.xml.sax.SAXException
java.io.IOException
java.lang.ClassNotFoundException
java.lang.InstantiationException
java.lang.IllegalAccessException

testIrregularilyStructured

public void testIrregularilyStructured(boolean getContentAsDOM)
                                throws XMLDBException,
                                       javax.xml.parsers.ParserConfigurationException,
                                       org.xml.sax.SAXException,
                                       java.io.IOException,
                                       java.lang.ClassNotFoundException,
                                       java.lang.InstantiationException,
                                       java.lang.IllegalAccessException
Throws:
XMLDBException
javax.xml.parsers.ParserConfigurationException
org.xml.sax.SAXException
java.io.IOException
java.lang.ClassNotFoundException
java.lang.InstantiationException
java.lang.IllegalAccessException


<oXygen/> XML Editor provides support for editing and debugging XQuery expressions against the eXist XML Database.